list.max

Syntax

a := list.max(l)

Get the maximum value in the list.

As determined by the less than operator ‘<’ applied to the values in the list.

Returns:

a - the maximum value in the list, as determined by the less than operator.

Arguments:

l - the list to scan for the maximum value.