| ifnotlen0 | R Documentation |
%||% (if length-0) alternative operator%||% (if length-0) alternative operator
a %||% b
a |
( |
b |
( |
a if it is not of length 0, otherwise b.
6 %||% 10
character() %||% "hi"
NULL %||% "hi"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.