powered by
LHS if not NULL, otherwise RHS
NULL
l %||% r
LHS if not NULL, otherwise RHS.
LHS.
RHS.
x <- list(b = 2, c = 3) x$a %||% x$b %||% x$c x$a %||% "default_value"
Run the code above in your browser using DataLab