Is there a Kotlin 2 wishlist somewhere? I want `fu...
# random
m
Is there a Kotlin 2 wishlist somewhere? I want
fun get(key: K): V
and
fun getOrNull(key: K): V?
for
Map<K, out V>
instead of
fun get(key: K): V?
but this is a major change. I almost always put
!!
after
get(key)
and if I suspect something will be
null
I first check to see if it is
in
the collection.