- groupAdjacent<TSource, TKey, TElement, TResult>(...args: [keySelector: IndexedSelector<TSource, TKey>, elementSelector: IndexedSelector<TSource, TElement>, resultSelector: ((key: TKey, items: Iterable<TElement>) => TResult), equalityComparer?: ((a: undefined | TKey, b: undefined | TKey) => boolean)]): ((src: Iterable<TSource>) => Iterable<TResult>)
-
Type Parameters
-
TSource
-
TKey
-
TElement
-
TResult
Parameters
-
Rest
...args: [keySelector: IndexedSelector<TSource, TKey>, elementSelector: IndexedSelector<TSource, TElement>, resultSelector: ((key: TKey, items: Iterable<TElement>) => TResult), equalityComparer?: ((a: undefined | TKey, b: undefined | TKey) => boolean)]
Returns ((src: Iterable<TSource>) => Iterable<TResult>)
-
- (src: Iterable<TSource>): Iterable<TResult>
-
Returns Iterable<TResult>