REBOL Programming/min

From Wikibooks, open books for an open world
< REBOL Programming
Jump to: navigation, search

USAGE:[edit]

MIN value1 value2 

DESCRIPTION:[edit]

Returns the lesser of the two values.

MIN 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]

min: 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!]
]