Rebol Programming/negative?

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

USAGE:

[edit | edit source]
NEGATIVE? number 

DESCRIPTION:

[edit | edit source]

Returns TRUE if the number is negative.

NEGATIVE? is an action value.

ARGUMENTS:

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

SOURCE CODE

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