Kotlin - Null Safety
Given a map with nullable values:
val map: Map = mapOf("a" to "apple", "b" to null, "c" to "cat")
How do you create a new map excluding entries with null values using Kotlin?
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions