Rebol Programming/minimum

USAGE:

edit
MINIMUM value1 value2 

DESCRIPTION:

edit

Returns the lesser of the two values.

MINIMUM is an action value.

ARGUMENTS:

edit
  • value1 -- (Type: number pair char money date time tuple series)
  • value2 -- (Type: number pair char money date time tuple series)

SOURCE CODE

edit
minimum: native[
    "Returns the lesser of the two values." 
    value1 [number! pair! char! money! date! time! tuple! series!] 
    value2 [number! pair! char! money! date! time! tuple! series!]
]