Join Slack
Powered by
what’s happening here, is you are calling function...
# android
o
orangy
09/28/2015, 6:31 PM
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
Open in Slack
Previous
Next