min



Function: min()

Returns the minimum of a set of values supplied individually or in a list.

Syntax

min(value1, value2,...valueN)

min(listOfValues)

Argument
Type
Description
value1..NAnyAll values should be of the same type
listOfValuesArrayList of values to be assessed

Examples

min(3,4,2)

returns 2

min( toDate("20220501"), toDate("20220502"))

returns the date 1-May-22

min([5,3,4])

returns 3

min(in.value)

min() returns 3 in the case that in.value is the list [5,3,4].

min(true,false)

returns false

See Also