Function associateByMultiple
- associateByMultiple<K, V>(values: Iterable<V>, keysSelector: ((item: V) => Iterable<K>), destination?: Map<K, V>): Map<K, V>
-
Parameters
-
values: Iterable<V>
-
keysSelector: ((item: V) => Iterable<K>)
-
- (item: V): Iterable<K>
-
Returns Iterable<K>
-
destination: Map<K, V> = ...
Returns Map<K, V>