R/draft/ZZZ-utils-coalesce.R

Defines functions `%||%`

# from purrr, gh, among other places
`%||%` <- function(x, y) {
  if (is.null(x)) {
    y
  } else {
    x
  }
}

Try the projmgr package in your browser

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

projmgr documentation built on May 29, 2024, 5 a.m.