Rebol Programming/odd?

From Wikibooks, open books for an open world
Jump to navigation Jump to search

USAGE:[edit | edit source]

ODD? number 

DESCRIPTION:[edit | edit source]

Returns TRUE if the number is odd.

ODD? is an action value.

ARGUMENTS:[edit | edit source]

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

SOURCE CODE[edit | edit source]

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