Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 1008 Bytes

basic-types.md

File metadata and controls

23 lines (17 loc) · 1008 Bytes

In Kotlin, everything is an object in the sense that you can call member functions and properties on any variable. While certain types have an optimized internal representation as primitive values at runtime (such as numbers, characters, booleans and others), they appear and behave like regular classes to you.

This section describes the basic types used in Kotlin:

Learn how to perform type checks and casts in Kotlin.

{type="tip"}

To learn about other Kotlin types, such as Nothing, Any, and Unit, look through the Kotlin API reference: