https://kotlinlang.org logo
#announcements
Title
# announcements
m

michaelzinn

12/08/2017, 10:52 AM
Copy code
x?.let { bla(it) }
becomes
Copy code
let(x, Bla::bla)
for example.
i

ilya.gorbunov

12/08/2017, 10:53 AM
Note that there is no null check in the Kotlin
let
m

michaelzinn

12/08/2017, 11:33 AM
That’s right, but since the null4j function does a combination of
?.
and
let
it seemed sensible to call it
let
.
4 Views