R/utilities.R

Defines functions is_scalar_character

is_scalar_character <- function(x){
    is.character(x) && length(x) == 1 &&
        !is.na(x) && nzchar(x)
}
ziqiangc/Elbo documentation built on May 28, 2017, 1:50 p.m.