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

REBOL 3 Functions: positive?

positive?  number

Returns TRUE if the value is positive.

Arguments:

number [number! money! time! pair!]

See also:

negative?  

Description

Returns FALSE for all other values.

print positive? 50
true
print positive? -50
false


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