Skip to content

ListValue.sum method

ListValue › sum

Unofficial

Returns the sum of the list's numeric elements.

Signature:

sum(): Value

Returns: ValueA NumberValue, or NullValue when there are no numbers.