powered by
Check if a optional object equals none
some(arg)
The variable to check existence
TRUE if arg is an optional variable and if it is not none, else returns FALSE
arg
option(), none a <- option(1) some(a) ## [1] TRUE b <- none some(b) ## [1] FALSE