describe

fun describe(value: Any?): String(source)

value as text: its toString, unless that is the default identity form, in which case its class name and its properties, as a data class would print them.