An iterable transform that applies an accumulator function over a sequence.
The first entry is used as the initial accumulator value, and the specified function is used to select the result value.
An iterable transform that applies an accumulator function over a sequence.
The specified seed value is used as the initial accumulator value, and the specified function is used to select the result value.
Returns
Type Parameters
T
U
Parameters
reducer: ((previous: U, current: T, index: number) => U)
An iterable transform that applies an accumulator function over a sequence. The first entry is used as the initial accumulator value, and the specified function is used to select the result value.
Returns