| if_null_then | R Documentation | 
Replace NULL
x %||% y
x | 
 A value to check  | 
y | 
 A value to substitute if x is null  | 
## Not run: 
x <- NULL
x <- x %||% "none"
x <- x %||% NA
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.