math.Sum

math.Sum


Returns the sum of all numbers. Accepts scalars, slices, or both.

{{ math.Sum 1 (slice 2 3) 4 }} → 10