REBOL Programming/odd?

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

USAGE:[edit]

ODD? number 

DESCRIPTION:[edit]

Returns TRUE if the number is odd.

ODD? is an action value.

ARGUMENTS:[edit]

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

SOURCE CODE[edit]

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