Core API – Kotlin Programming Language (original) (raw)

Unit

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

Since Kotlin

1.0

The type with only one value: the Unit object.

Since Kotlin

1.1

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

Since Kotlin

1.0

The type with only one value: the Unit object.

Since Kotlin

1.3

The type with only one value: the Unit object.

Since Kotlin

1.8

The type with only one value: the Unit object.

Since Kotlin

1.8

Returns a string representation of the object.

Returns a string representation of the object.

Returns a string representation of the object.

Returns a string representation of the object.

Returns a string representation of the object.