aarjav11/17/2018, 11:10 PM
can == null in the body of the lambda?
fun foo(block: String?.() -> Unit)
I noticed that with the second I cannot call
fun foo(block: String.() -> Unit)
but the lambda body (for block param where foo is used) stays the same.
rnpy11/17/2018, 11:27 PM
can be null in Kotlin, https://pl.kotl.in/H169XXRp7 for very simple example