R/is.nothing.R

Defines functions is.nothing

Documented in is.nothing

#' Title
#'
#' @param x
#'
#' @return
#' @export
#'
#' @examples
is.nothing <- function(x){
  if(is.null(x)) return(T)
  else if (length(x)==0) return(T)
  else if (is.na(x)) return(T)
  else if (is.nan(x)) return(T)
  else return(F)
}
yanxianUCSB/yxhelper documentation built on April 20, 2020, 4:09 p.m.