Skip to contents

[Stable]

Usage

is_failure(x)

Arguments

x

The object to test.

Value

Either TRUE or FALSE.

See also

Examples

Success(10) |> is_failure()
#> [1] FALSE
Failure("OOps!") |> is_failure()
#> [1] TRUE
Some(10) |> is_failure()
#> [1] FALSE
Nothing() |> is_failure()
#> [1] FALSE