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
}

Try the RNAmodR.ML package in your browser

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

RNAmodR.ML documentation built on Nov. 8, 2020, 6:40 p.m.