Join Slack
Powered by
Along with Sindre’s comment, if you need a length ...
# getting-started
b
brianwernick
11/22/2016, 3:22 PM
Along with Sindre’s comment, if you need a length you can always use the elvis operator in addition to the ?. (e.g.
val len = lastName?.length ?: -1
)
👍 1
2
Views
Open in Slack
Previous
Next