you mean something like `x?.let{} ?: run {}`?
# android
s
you mean something like
x?.let{} ?: run {}
?
😕 1
l
s.luhmirins: If the last expression of
let
is null, the block afterwards will be executed. Maybe you should use
also { ... }
instead
s
I would use if-else anyway, I was just trying to clarify what was asked
and
also
just would not work there