is_just {maybe}R Documentation

Check if an object is a 'Just' value

Description

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)
is_just(just(1))
is_just(nothing())

[Package maybe version 1.1.0 Index]