REBOL Programming/zero?

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

USAGE:[edit]

ZERO? number 

DESCRIPTION:[edit]

Returns TRUE if the number is zero.

ZERO? is an action value.

ARGUMENTS[edit]

  • number -- (Type: number pair char money time tuple)

SOURCE CODE[edit]

zero?: native[
    "Returns TRUE if the number is zero." 
    number [number! pair! char! money! time! tuple!]
]