- filterWithKey<K, V>(pred): ((m) => Map<K, V>)
Parameters
pred: ((key) => ((value) => boolean))
- (key): ((value) => boolean)
Returns ((value) => boolean)
- (value): boolean
Returns boolean
Returns ((m) => Map<K, V>)
A new filtered Map
.
- (m): Map<K, V>
Returns Map<K, V>
Filters the
Map
, picking only entries matching the predicate.