Description Usage Arguments Value Examples
Handle default NULL values
1 | set_if_null(null_arg = NULL, default_value)
|
null_arg |
function arg that is set to NULL |
default_value |
default value |
default value if the arg is NULL, otherwise the arg value
1 2 3 4 | set_if_null(NULL, 10)
#> 10
set_if_null(5, 10)
#> 5
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.