Essentially `.ifEmpty { }` but for nullable values
# getting-started
g
Essentially
.ifEmpty { }
but for nullable values
🧵 1
s
x ?: defaultValue
if you have a given value or
x ?: run {...}
if you want a lambda to return a value