Lucee Function Reference

arraysum()

The sum of values in an array. If the array parameter value is
an empty array, returns zero.

Example

arraysum(array array):number

Category

array

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
array array  Yes Name of an array