Unit

object Unit(source)

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

Since Kotlin

1.1
object Unit(source)

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

Since Kotlin

1.0

Functions

Link copied to clipboard
open override fun toString(): String
Since Kotlin 1.1
open override fun toString(): String
Since Kotlin 1.0