op-null-default | R Documentation |
NULL
Convenience function to avoid testing for NULL
.
x %||% y
x, y |
If |
The first object if it is not NULL
otherwise the second object.
1 %||% 2 NULL %||% 2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.