Skip to contents

Check if an object is a 'Just' value

Usage

is_just(a)

Arguments

a

Object to check

Value

TRUE or FALSE

Examples

is_just(1)
#> [1] FALSE
is_just(just(1))
#> [1] TRUE
is_just(nothing())
#> [1] FALSE