Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fun Map<String, String?>.filterNonNull() = this
- .filter { it.value != null }
- .map { it.key to it.value!! }
- .toMap()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement