REBOL Programming/even?

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

USAGE:[edit]

EVEN? number 

DESCRIPTION:[edit]

Returns TRUE if the number is even.

EVEN? is an action value.

ARGUMENTS[edit]

  • number -- (Type: number char date money time)

SOURCE CODE[edit]

even?: native[
    "Returns TRUE if the number is even." 
    number [number! char! date! money! time!]
]