- aggregate<T, TOut>(...args: [seed: TOut, aggFunc: ((prev: TOut, curr: T, idx: number) => TOut)]): ((src: Iterable<T>) => TOut)
-
Parameters
-
Rest
...args: [seed: TOut, aggFunc: ((prev: TOut, curr: T, idx: number) => TOut)]
Returns ((src: Iterable<T>) => TOut)
-
- (src: Iterable<T>): TOut
-
Returns TOut