Jump to content

Rebol Programming/even?

From Wikibooks, open books for an open world

USAGE:

[edit | edit source]
EVEN? number 

DESCRIPTION:

[edit | edit source]

Returns TRUE if the number is even.

EVEN? is an action value.

ARGUMENTS

[edit | edit source]
  • number -- (Type: number char date money time)

SOURCE CODE

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