Kotlin HashMap filterNotTo()
Syntax & Examples
Syntax of HashMap.filterNotTo()
The syntax of HashMap.filterNotTo() extension function is:
fun <K, V, M : MutableMap<in K, in V>> Map<out K, V>.filterNotTo( destination: M, predicate: (Entry<K, V>) -> Boolean ): M
This filterNotTo() extension function of HashMap appends all entries not matching the given predicate into the given destination.