math.Max

math.Max


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

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