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

REBOL 3 Functions: error?

error?  value

Returns TRUE if it is this type.

Arguments:

value [any-type!]

See also:

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.


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