some | R Documentation |
Check if a optional object equals none
some(arg)
arg |
The variable to check existence |
TRUE if arg
is an optional variable
and if it is not none, else returns FALSE
option(), none a <- option(1) some(a) ## [1] TRUE b <- none some(b) ## [1] FALSE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.