is_nothing {maybe} | R 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())
[Package maybe version 1.1.0 Index]