Aggregate functions

Aggregate functions allow you to extract a value from a collection. They aren't validation functions in itself, but they can help you in retrieving data you want to refer to more easily in the rest of your validation script.

Function Result
max (Collection) The maximum of the given collection of values.
min (Collection) The minimum of the given collection of values.
avg (Collection) The average of the given collection of number values.
sum (Collection) The sum of the given collection of number values.