Unit
The type with only one value: the Unit object. This type corresponds to the void type in Java.
Since Kotlin
1.0The type with only one value: the Unit object. This type corresponds to the void type in Java.
Since Kotlin
1.1The type with only one value: the Unit object. This type corresponds to the void type in Java.
Since Kotlin
1.0The type with only one value: the Unit object. This type corresponds to the void type in Java.