R/util-infix.R

#' @include setup.R

`%||%` <- function (x, y) if (is.null(x)) y else x
if(FALSE){#@testing
    expect_true( NULL %||% TRUE)
    expect_true( TRUE %||% FALSE)
}
RDocTaskForce/documentation documentation built on May 8, 2019, 5:50 a.m.