View source: R/do_if_null_or_not_null.R
do someting if x is not null
1 | ifnotnull(x, not.null.cmd, null.cmd)
|
x |
A object to check |
not.null.cmd |
A clojure to eval when x is not null |
null.cmd |
A clojure to eval when x is null; can be miss. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.