R/backports.R

Defines functions isFALSE isTRUE

isTRUE <- function(x) {
  is.logical(x) && length(x) == 1L && !is.na(x) && x
}


isFALSE <- function(x) {
  is.logical(x) && length(x) == 1L && !is.na(x) && !x
}
strengejacke/ggeffects documentation built on Dec. 24, 2024, 3:27 a.m.