is there any way to check maps has all values null...
# getting-started
r
is there any way to check maps has all values null? val m = mapOf(“s” to null, “a” to null) Not working >> println(m.values.isNullOrEmpty()) working >> println(m.values.all{it == null}) better way >>?
c
A few options documented here.
👍 1