Join Slack
Powered by
Well, you can use the elvis operator to do somethi...
# announcements
r
robin
02/22/2017, 12:04 PM
Well, you can use the elvis operator to do something else if the value is null:
optional?.let { unwrapped -> doSmth() } ?: doSmthElse()
Open in Slack
Previous
Next