reduce
reduce<
A,B>(init,f): (s) =>B
Defined in: Data/Uniq.ts:259
Folds the collection into a single value by applying f to each item in insertion order.
Type Parameters
Section titled “Type Parameters”A
B
Parameters
Section titled “Parameters”B
(acc, a) => B
Returns
Section titled “Returns”(s) => B