math.Product

math.Product


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

{{ math.Product 1 (slice 2 3) 4 }} → 24