- toMap<T, TKey>(keySelector: IndexedSelector<T, TKey>, mapFactory?: MapFactory<TKey>): ((src: Iterable<T>) => Map<TKey, T>)
-
Returns ((src: Iterable<T>) => Map<TKey, T>)
-
- (src: Iterable<T>): Map<TKey, T>
-
Returns Map<TKey, T>
- toMap<T, TKey, TValue>(keySelector: IndexedSelector<T, TKey>, valueSelector: IndexedSelector<T, TValue>, mapFactory?: MapFactory<TKey>): ((src: Iterable<T>) => Map<TKey, TValue>)
-
Returns ((src: Iterable<T>) => Map<TKey, TValue>)
-
- (src: Iterable<T>): Map<TKey, TValue>
-
Returns Map<TKey, TValue>