%||%
%||% (if length-0) alternative operator
a %||% b
a
(ANY) element to select only if it is not of length 0.
ANY
b
(ANY) element to select if a has length 0.
a if it is not of length 0, otherwise b.
6 %||% 10 character() %||% "hi" NULL %||% "hi"