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.
An iterable transform that applies an accumulator function over a sequence. The specified
initialValue
is used as the initial accumulator value, and the specified function is used to select the result value. If noinitialValue
is specified, the first entry in the sequence is used.Param: reducer
Param: initialValue
Returns