https://kotlinlang.org logo
e

edwardwongtl

05/07/2018, 8:30 AM
While
text?.let {...} ?: ...
is also correct, the point is that writing
idiomatic
Kotlin does NOT require you to use those
let
,
apply
,
run
thing