sum
sum(
iterable,options?):number
Defined in: sum.ts:47
Returns the sum of all items.
Parameters
Section titled “Parameters”iterable
Section titled “iterable”Iterable<number>
The input iterable.
options?
Section titled “options?”How to accumulate; exact by default.
Returns
Section titled “Returns”number
The total sum.