null_coalesce_operator {backports} | R Documentation |
See the original description in Control
.
x %||% y
x |
(any). |
y |
(any). |
# get function from namespace instead of possibly getting
# implementation shipped with recent R versions:
bp_null_coalesce = getFromNamespace("%||%", "backports")
bp_null_coalesce(NULL, FALSE)