R/utils.R

Defines functions .is_empty .is_a_bool

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

.is_empty <- function(x){
  length(x) == 0L
}
FelixErnst/RNAmodR.ML documentation built on July 24, 2020, 1:34 a.m.