is_try_error {attempt} | R 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)
[Package attempt version 0.3.1 Index]