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

View source: R/is_class.R

is_try_errorR Documentation

Is the element of class "try-error"?

Description

Is the element of class "try-error"?

Usage

is_try_error(.x)

Arguments

.x

the object to test

Value

A logical

Examples

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


ColinFay/trycatchthis documentation built on Dec. 31, 2022, 3:59 a.m.