< Rebol Programming

USAGE:

ODD? number 

DESCRIPTION:

Returns TRUE if the number is odd.

ODD? is an action value.

ARGUMENTS:

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

SOURCE CODE

odd?: native[
    "Returns TRUE if the number is odd." 
    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.