R/app_prod.R

Defines functions app_prod

Documented in app_prod

`%||%` <- function (x, y)
{
  if (is.null(x))
    y
  else x
}
#' return `TRUE` if in `production mode`
app_prod <- function(){
  getOption( "app.prod" ) %||% TRUE
}
ThinkR-open/clientapp documentation built on Sept. 17, 2023, 7:02 p.m.