Join Slack
Powered by
I mean, I guess it’s a contextual thing - if this ...
# getting-started
s
Shawn
11/14/2017, 8:02 PM
I mean, I guess it’s a contextual thing - if this code lives in a world where I can reasonably expect that list to be empty, I would use
firstOrNull
in combination with safe navigation or the elvis operator to keep going
2
Views
Open in Slack
Previous
Next