R/utils_nullcoalesce.R

Defines functions `%||%`

# Internal helper: null coalescing
#' @noRd
`%||%` <- function(a, b) if(is.null(a)) b else a

Try the r4pde package in your browser

Any scripts or data that you put into this service are public.

r4pde documentation built on Sept. 8, 2026, 1:10 a.m.