-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update wording in basic-types.md (#3887)
- Loading branch information
Showing
1 changed file
with
7 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
[//]: # (title: Basic types) | ||
|
||
In Kotlin, everything is an object in the sense that you can call member functions and properties on any variable. | ||
Some types can have a special internal representation – for example, numbers, characters and booleans can be | ||
represented as primitive values at runtime – but to the user they look like ordinary classes. | ||
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) | ||
* [Arrays](arrays.md) | ||
|
||
> [Learn how to perform type checks and casts in Kotlin](typecasts.md). | ||
> | ||
{type="tip"} |