inline fun <K, V> Map<out K, V>.filterValues( predicate: (V) -> Boolean ): Map<K, V>
Returns a map containing all key-value pairs with values matching the given predicate.
The returned map preserves the entry iteration order of the original map.
© 2010–2017 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/filter-values.html