R/assertions.R

Defines functions is_bool

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

Try the ifo package in your browser

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

ifo documentation built on June 8, 2025, 10:39 a.m.