Join Slack
Powered by
<@U6P03BM0W> I'd use `A.firstOrNull() ?: B.first()...
# getting-started
m
mbickel
04/24/2018, 12:45 PM
@dave08
I'd use
A.firstOrNull() ?: B.first()
- probably as clear as you can get (assuming you mean "if A is empty" - not the first element)
2
Views
Open in Slack
Previous
Next