Skip to content

sum

Signature

sum(array)

Description

Does arithmetic addition of specified array of values of numbers, quantities, and durations.

Examples

sum(`[]`) == `0`
sum([`10`, `15`]) == `25`