Collection extensions
max
Returns: Number
The MAX function runs the inner function (which itself returns a number) over all elements of the collection, and then returns the maximum value of the results. Will return 0 if the collection is empty.
Note: If the collection itself is a collection of numbers, you can use the pattern .Max(x, @x)
The MAX function runs the inner function (which itself returns a number) over all elements of the collection, and then returns the maximum value of the results. Will return 0 if the collection is empty.
Note: If the collection itself is a collection of numbers, you can use the pattern .Max(x, @x)