https://kotlinlang.org logo
#getting-started
Title
# getting-started
k

kevinmost

03/17/2017, 5:47 PM
if you do
email?.toString()
it'll call the class'
toString()
directly, otherwise it calls the extension in the stdlib, which calls the class'
toString()
if it's non-null, otherwise it returns
"null"