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())

maybe documentation built on Aug. 7, 2023, 5:11 p.m.