- associate<T, K, V>(iterable: Iterable<T>, transform: ((item: T) => [K, V]), destination?: Map<K, V>): Map<K, V>
-
Parameters
-
iterable: Iterable<T>
-
transform: ((item: T) => [K, V])
-
- (item: T): [K, V]
-
Returns [K, V]
-
destination: Map<K, V> = ...
Returns Map<K, V>