eygraber
b
b.isEmpty()
a
a.isEmpty()
val a: String? = null val b: String? = null when { a == null && b == null -> true a == null -> b.isEmpty() b == null -> a.isEmpty() }
karn
isEmpty()
b?.isEmpty() ?: true
Boolean?
Boolean
A modern programming language that makes developers happier.