Function associateWithNotNullish
- associateWithNotNullish<K, V>(keys: Iterable<K>, valueSelector: ((item: K) => undefined | V), destination?: Map<K, V>): Map<K, V>
-
Parameters
-
keys: Iterable<K>
-
valueSelector: ((item: K) => undefined | V)
-
- (item: K): undefined | V
-
Returns undefined | V
-
destination: Map<K, V> = ...
Returns Map<K, V>