https://kotlinlang.org logo
d

danneu

01/28/2017, 8:27 PM
naive solution is
map.filterValues { it != null } as Map<String, String>
but it's an unchecked cast, so i'm wondering if there's something better