- scan<T, TOut>(aggFunc: ((prev: TOut, curr: T, idx: number) => TOut), seed: TOut): ((source: Iterable<T>) => Iterable<TOut>)
-
Parameters
-
aggFunc: ((prev: TOut, curr: T, idx: number) => TOut)
-
- (prev: TOut, curr: T, idx: number): TOut
-
Parameters
-
prev: TOut
-
curr: T
-
idx: number
Returns TOut
-
seed: TOut
Returns ((source: Iterable<T>) => Iterable<TOut>)
-
- (source: Iterable<T>): Iterable<TOut>
-
Returns Iterable<TOut>
- scan<T>(aggFunc: ((prev: T, curr: T, idx: number) => T)): ((source: Iterable<T>) => Iterable<T>)
-
Parameters
-
aggFunc: ((prev: T, curr: T, idx: number) => T)
-
- (prev: T, curr: T, idx: number): T
-
Parameters
-
prev: T
-
curr: T
-
idx: number
Returns T
Returns ((source: Iterable<T>) => Iterable<T>)
-
- (source: Iterable<T>): Iterable<T>
-
Returns Iterable<T>