filterNotNullValues

fun <K, V> Map<K, V?>.filterNotNullValues(): Map<K, V & Any>

Filters the values in this map, leaving only non-null entries