The object to iterate over.
The function invoked per iteration.
Optional
accumulator: TResultThe custom accumulator value.
Returns the accumulated value.
Optional
accumulator: TResult_.transform
Optional
accumulator: TResult_.transform
_.transform
_.transform
Generated using TypeDoc
An alternative to _.reduce; this method transforms object to a new accumulator object which is the result of running each of its own enumerable properties through iteratee, with each invocation potentially mutating the accumulator object. The iteratee is invoked with four arguments: (accumulator, value, key, object). Iteratee functions may exit iteration early by explicitly returning false.