dmitry.petrov
04/29/2016, 1:49 PMa?.isBlank()
can be null.
val a: String? = null
val b = a?.isBlank() ?: false // no allocation
We might be able to avoid that boxing. Do you find it more natural to write nullableBoolean == true
instead of nullableBoolean ?: false
?