toString

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

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
inline fun Any?.toString(): String(source)

Since Kotlin

1.3

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

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