Skip to content

Commit fadf671

Browse files
authored
chore: add links to Any, Nothing, and Unit types (#4253)
* chore: add links to Any, Nothing, and Unit types * chore: update the links
1 parent b2a58c5 commit fadf671

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

docs/topics/basic-types.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,19 @@ While certain types have an optimized internal representation as primitive value
55
they appear and behave like regular classes to you.
66

77
This section describes the basic types used in Kotlin:
8+
89
* [Numbers](numbers.md) and their [unsigned counterparts](unsigned-integer-types.md)
910
* [Booleans](booleans.md)
1011
* [Characters](characters.md)
1112
* [Strings](strings.md)
1213
* [Arrays](arrays.md)
1314

1415
> [Learn how to perform type checks and casts in Kotlin](typecasts.md).
15-
>
16-
{type="tip"}
16+
>
17+
{type="tip"}
18+
19+
To learn about other Kotlin types, such as `Nothing`, `Any`, and `Unit`, look through the Kotlin API reference:
20+
21+
* [`Any`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/)
22+
* [`Nothing`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-nothing.html)
23+
* [`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/)

0 commit comments

Comments
 (0)