diff --git a/docs/topics/basic-types.md b/docs/topics/basic-types.md index 8e634ee7c18..57e96153bb2 100644 --- a/docs/topics/basic-types.md +++ b/docs/topics/basic-types.md @@ -1,23 +1,21 @@ [//]: # (title: Basic types) -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: - -* [Numbers](numbers.md) and their [unsigned counterparts](unsigned-integer-types.md) -* [Booleans](booleans.md) -* [Characters](characters.md) -* [Strings](strings.md) -* [Arrays](arrays.md) - -> [Learn how to perform type checks and casts in Kotlin](typecasts.md). -> -{type="tip"} - -To learn about other Kotlin types, such as `Nothing`, `Any`, and `Unit`, look through the Kotlin API reference: - -* [`Any`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/) -* [`Nothing`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-nothing.html) -* [`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/) \ No newline at end of file +* ⭐ALL is an object | Kotlin ⭐ + * == | ANY variable, you can call + * member functions + * properties + * NO primitive types (as | Java) +* Platform types + * == types / + * have an internal representation -- as -- primitive values | runtime + * == class' appearance & class' behaviour + * _Example:_ + * [Numbers](numbers.md) and their [unsigned counterparts](unsigned-integer-types.md) + * [Booleans](booleans.md) + * [Characters](characters.md) + * [Strings](strings.md) + * [Arrays](arrays.md) + * others -> check | Kotlin API + * [`Any`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/) + * [`Nothing`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-nothing.html) + * [`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/) \ No newline at end of file