is_failure {result} | R Documentation |
Checks if an object is of failure
class
Description
Checks if an object is of failure
class
Usage
is_failure(obj)
Arguments
obj |
object to check |
Value
TRUE
if object is of failure
class,
FALSE
otherwise
Examples
is_failure(success())
is_failure(failure())
[Package result version 0.1.0 Index]