some {optional} | R Documentation |
some
Description
Check if a optional object equals none
Usage
some(arg)
Arguments
arg |
The variable to check existence |
Value
TRUE if arg
is an optional variable
and if it is not none, else returns FALSE
See Also
option(), none a <- option(1) some(a) ## [1] TRUE b <- none some(b) ## [1] FALSE
[Package optional version 2.0.1 Index]