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