REBOL Document

Zero? - Function Summary


Summary:

Returns TRUE if the number is zero.

Usage:

zero? number

Arguments:

number - The number argument. (must be: number pair char money time tuple)

Description:

Check the value of a word is zero.


    print zero? 50
    false


    print zero? 0
    true

Related:

negative? - Returns TRUE if the number is negative.
positive? - Returns TRUE if the value is positive.


<Back | Index | Next>

Copyright 2004 REBOL Technologies