Accumulates a summary value from the items in the list.
function (
list
as list, optionalseed
as nullable any,accumulator
as function) as nullable any
Accumulates a summary value from the items in the list list
, using accumulator
. An optional seed parameter, seed
, may be set.
List.Transformation functions
Accumulates the summary value from the items in the list {1, 2, 3, 4, 5} using ((state, current) => state + current ).
List.Accumulate({1, 2, 3, 4, 5}, 0, (state, current) => state + current)
15