REBOL Document

Number? - Function Summary


Summary:

Returns TRUE for number values.

Usage:

number? value

Arguments:

value - The value argument. (must be: any-type)

Description:

Returns FALSE for all other values.


    print number? 1234
    true


    print number? 12.34
    true


    print number? "1234"
    false

Related:

decimal? - Returns TRUE for decimal values.
integer? - Returns TRUE for integer values.


<Back | Index | Next>

Copyright 2004 REBOL Technologies