REBOL Document

Error? - Function Summary


Summary:

Returns TRUE for error values.

Usage:

error? value

Arguments:

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

Description:

Returns FALSE for all other values. This is useful for determining if a TRY function returned an error.


    if error? try [1 + "x"][
        print "Did not work."
    ]
    Did not work.

Related:


<Back | Index | Next>

Copyright 2004 REBOL Technologies