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

menegatti

03/18/2017, 12:16 PM
for instance,
val myFun :  (Boolean) -> String = { aBoolean -> return if (aBoolean) "string1" else "string2" }