Yes, if inferred type is work for you In this part...
# functional
g
Yes, if inferred type is work for you In this particular case
println
returns Unit, so type will be
() -> Unit
, but if last lambda expression returns some other type, infered type will be
() -> LastExpressionType