sum
number sum(container)
Returns the sum of all values in the
container
.
Parameters
container
— a
array
or
dictionary
.
Returns
the sum of all values.