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

Since Kotlin

1.3