$sum
The$sum operator returns the sum of all numeric input values.
Input
- An array of numeric values to sum
Output
- The sum of all input values (returns 0 if no values provided)
Examples
Sum of Multiple Values
10
Sum of Field Values
No Values
0$sum operator returns the sum of all numeric input values.
10
0