< Rebol Programming

USAGE:

EVEN? number 

DESCRIPTION:

Returns TRUE if the number is even.

EVEN? is an action value.

ARGUMENTS

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

SOURCE CODE

even?: native[
    "Returns TRUE if the number is even." 
    number [number! char! date! money! time!]
]
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.