toString

expect fun Any?.toString(): String(source)

Returns a string representation of the object. Can be called with a null receiver, in which case it returns the string "null".

Since Kotlin

1.0
actual fun Any?.toString(): String(source)

Returns a string representation of the object. Can be called with a null receiver, in which case it returns the string "null".

Since Kotlin

1.1

Returns a string representation of the object. Can be called with a null receiver, in which case it returns the string "null".

Since Kotlin

1.0
actual inline fun Any?.toString(): String(source)

Since Kotlin

1.3
actual fun Any?.toString(): String(source)

Returns a string representation of the object. Can be called with a null receiver, in which case it returns the string "null".

Since Kotlin

1.8
actual fun Any?.toString(): String(source)

Returns a string representation of the object. Can be called with a null receiver, in which case it returns the string "null".

Since Kotlin

1.8