is_try_error: Is the element of class "try-error"?

Description Usage Arguments Value Examples

View source: R/is_class.R

Description

Is the element of class "try-error"?

Usage

1

Arguments

.x

the object to test

Value

A logical

Examples

1
2
x <- attempt(log("a"), silent = TRUE)
is_try_error(x)

attempt documentation built on May 4, 2020, 1:05 a.m.