>`val l = b?.length ?: -1` >If the expressi...
# getting-started
e
val l = b?.length ?: -1
If the expression to the left of ?: is not null, the elvis operator returns it, otherwise it returns the expression >to the right. Note that the right-hand side expression is evaluated only if the left-hand side is null.