toString

fun toString(o: Any?): String

{@return the result of calling {@code toString} for a

  • non-{@code null} argument and {@code "null"} for a

  • {@code null} argument}

Parameters

o

an object

See also

Object.toString
String.valueOf