Learn R Programming

oaii (version 0.5.0)

is_error: Test if object belongs to "error" class

Description

Test if object belongs to "error" class

Usage

is_error(x)

Value

TRUE/FALSE

Arguments

x

R variable

Examples

Run this code
is_error(FALSE)
is_error(simpleError("test"))

Run the code above in your browser using DataLab