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 June 12, 2025, 2:03 p.m.