Skip to contents

[Stable]

Usage

check_is_result(x)

Arguments

x

The object to test.

Value

Either TRUE or FALSE.

See also

Examples

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