R/value_check.R

Defines functions is_empty

#' Check empty value (empty string or NA)
#' @export
is_empty <- function(vec){
  stringr::str_length(stringr::str_trim(vec))==0 | is.na(vec)
}
exploratory-io/exploratory_func documentation built on April 23, 2024, 9:15 p.m.