powered by
NULL
Convenience function to avoid testing for NULL.
x %||% y
If x is NULL, will return y; otherwise returns x.
x
y
The first object if it is not NULL otherwise the second object.
# NOT RUN { 1 %||% 2 NULL %||% 2 # }
Run the code above in your browser using DataLab