Calls the specified callback function for all the elements in a list.
The return value of the callback function is the accumulated result,
and is provided as an argument in the next call to the callback function.
ts.reduce But also works with generators.
Calls the specified callback function for all the elements in a list. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
ts.reduce
But also works with generators.