R/helpers.R

Defines functions is_literally_false

# isFALSE for older R version (< 3.5)
is_literally_false = function(x) {
  if (getRversion() >= "3.5") {
    isFALSE(x)
  } else {
    is.logical(x) && length(x) == 1L && !is.na(x) && !x
  }
}

Try the plainview package in your browser

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

plainview documentation built on July 26, 2023, 5:24 p.m.