what’s happening here, is you are calling function...
# android
o
what’s happening here, is you are calling function
let
that is extension function on
T
and calls its lambda passing its receiver as parameter (it). So if you safe-call
let
, then it is equivalent to
if (a != null) a.let { … } else null
with a smart-cast