Function partitionWithKey
- partitionWithKey<K, V>(pred): ((m) => [satisfied: Map<K, V>, dropped: Map<K, V>])
Parameters
pred: ((key) => ((value) => boolean))
- (key): ((value) => boolean)
Returns ((value) => boolean)
- (value): boolean
Returns boolean
Returns ((m) => [satisfied: Map<K, V>, dropped: Map<K, V>])
- (m): [satisfied: Map<K, V>, dropped: Map<K, V>]
Returns [satisfied: Map<K, V>, dropped: Map<K, V>]