Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. fun Map<String, String?>.filterNonNull() = this
  2. .filter { it.value != null }
  3. .map { it.key to it.value!! }
  4. .toMap()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement