The replacement operator. Replaces the lhs with rhs on the condition that length(lhs) == FALSE (the length is 0).

lhs %||% rhs

Arguments

lhs
An object of any length.
rhs
A replacement value if length(lhs) == FALSE.