Rebol Programming/positive?

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

USAGE:[edit | edit source]

POSITIVE? number 

DESCRIPTION:[edit | edit source]

Returns TRUE if the value is positive.

POSITIVE? is an action value.

ARGUMENTS:[edit | edit source]

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

SOURCE CODE[edit | edit source]

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