Join Slack
Powered by
how would I create a `fun pretty(a: Any): String` ...
# getting-started
n
nkiesel
02/07/2017, 7:11 PM
how would I create a
fun pretty(a: Any): String
that returns
a.joinToString
if
a
has such a method, or
a.toString()
otherwise?
Open in Slack
Previous
Next