REBOL Document

Any-function? - Function Summary


Summary:

Returns TRUE for any-function values.

Usage:

any-function? value

Arguments:

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

Description:

Returns FALSE for all other values.


    print any-function? :find
    true


    print any-function? :+
    true


    print any-function? func [] [print "hi"]
    true


    print any-function? 123
    false

Related:

any-block? - Returns TRUE for any-block values.
any-string? - Returns TRUE for any-string values.
any-type? - Returns TRUE for any-type values.
any-word? - Returns TRUE for any-word values.
function? - Returns TRUE for function values.
native? - Returns TRUE for native values.
op? - Returns TRUE for op values.


<Back | Index | Next>

Copyright 2004 REBOL Technologies