removeAll

fun removeAll(condition: (K) -> Boolean)

Remove all the keys in a map matching the condition.

Parameters

condition

Function callback that returns true when a key should be removed.