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