REBOL 3 Docs Guide Concepts Functions Datatypes Errors
  TOC < Back Next >   Updated: 3-Aug-2010 Edit History  

REBOL 3 Functions: negative?

negative?  number

Returns TRUE if the number is negative.

Arguments:

number [number! money! time! pair!]

See also:

positive?  

Description

Returns FALSE for all other values.

print negative? -50
true
print negative? 50
false


  TOC < Back Next > REBOL.com - WIP Wiki Feedback Admin