Join Slack
Powered by
It depends on the case, normally if I’m just doing...
# announcements
b
brianwernick
01/03/2017, 8:18 PM
It depends on the case, normally if I’m just doing a null check I’ll use the
?.let {}
syntax however in this particular case it would cause extra nesting (e.g.
x?.let { if (it.isEmpty()) { } }
which is why I pointed out the path I did, jakes is probably what I would use though
Open in Slack
Previous
Next