is_maybe: Check if an object is a maybe value

View source: R/maybe.R

is_maybeR Documentation

Check if an object is a maybe value

Description

Check if an object is a maybe value

Usage

is_maybe(a)

Arguments

a

Object to check

Value

TRUE or FALSE

Examples

is_maybe(1)
is_maybe(just(1))
is_maybe(nothing())

armcn/maybe documentation built on Aug. 23, 2023, 8:55 p.m.