reduce
reduce<
A,B>(initial,f): (data) =>B
Defined in: Data/Arr.ts:512
Reduces an array from the left.
Type Parameters
Section titled “Type Parameters”A
B
Parameters
Section titled “Parameters”initial
Section titled “initial”B
(acc, a) => B
Returns
Section titled “Returns”(data) => B