Set a default value depending on if an object is NULL
x %||% y
x %iff% yFor %||%: y if x is NULL;
otherwise x
For %iff%: y if x is not
NULL; otherwise x
# Set if NULL
1 %||% 2
#> [1] 1
NULL %||% 2
#> [1] 2
# Set if *not* NULL
1 %iff% 2
#> [1] 2
NULL %iff% 2
#> NULL