R/util.R
reduce.Rd
Analogous to Array.reduce in Javascript. A wrapper around base::Reduce which provides the same parameter order.
Array.reduce
base::Reduce
reduce(object, func, init)
The object to filter
The reducer function
The initial value