R/utils_error_then.R

Defines functions `%then%`

# Allows the ability to chain shiny validate conditions
`%then%` <- function(a, b) {
  if (is.null(a)) b else a
}

Try the fdapaceShiny package in your browser

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

fdapaceShiny documentation built on Nov. 11, 2021, 5:06 p.m.