is_nothing: Check if an object is a 'Nothing' value

View source: R/maybe.R

is_nothingR Documentation

Check if an object is a 'Nothing' value

Description

Check if an object is a 'Nothing' value

Usage

is_nothing(a)

Arguments

a

Object to check

Value

TRUE or FALSE

Examples

is_nothing(1)
is_nothing(just(1))
is_nothing(nothing())

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