min

Gives the smallest of its arguments, or of the items of a list when a single list is given. Values are compared as numbers; an argument that is not a number is ignored. With nothing to compare, null.

Runs on: either side: the compiler places the statement that calls it where the values it uses live.

Format:

min(number1, number2 [, ...]) or min(list)

Parameters:

Parameter Type Description
number1 mixed a number, or a list of numbers
number2 number  [Optional]further numbers

Returned Value:

Type Description
number the smallest, or null

Examples

shown = min(count(rows), 20)