Result
is_result.Rd
is_result(x)
The object to test.
Either TRUE or FALSE.
TRUE
FALSE
check_is_result()
Success(10) |> is_result() #> [1] TRUE Failure("OOps!") |> is_result() #> [1] TRUE Some(10) |> is_result() #> [1] FALSE Nothing() |> is_result() #> [1] FALSE