Description Usage Arguments Value Examples
A pretty clever approach for accessing part of a list, returning a default if there is nothing of that name in the list. This was taken from https://stackoverflow.com/questions/26561518/built-in-for-getting-list-element-or-default
1 | a %or% b
|
a |
Value to use, unless empty. |
b |
Alternative value to use, if a is empty. |
a unless empty, in which case b is returned.
1 | NULL %or% "default"
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.