Description Usage Arguments Examples
This infix function makes it easy to replace a length 0 value with a default value. It's inspired by the way that Ruby's or operation ('||') works.
1 | x %|0|% y
|
x, y |
If 'length(x) == 0', will return 'y'; otherwise returns 'x'. |
1 2 | "bacon" %|0|% "eggs"
NULL %|0|% "eggs"
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.