up previous next
min    --    a minimum element of a sequence or list


Syntax
min(E_1: OBJECT,...,E_n: OBJECT): OBJECT
min(L: LIST): OBJECT

Description
In the first form, this function returns a minimum of E_1,...,E_n. In the second form, it returns a minimum of the objects in the list L .

See more examples in max .

Example
/**/  min([1,2,3]);
1
/**/  min(1,2,3);
1

See Also