R/any.nothing.R

Defines functions any.nothing

Documented in any.nothing

#' any NOTHING in a vector
#'
#' @param v
#'
#' @return
#' @export
#'
#' @examples
any.nothing <- function(v) {
  for(x in v){
    if(is.nothing(x)) return(T)
  }
  return(F)
}
yanxianUCSB/yxhelper documentation built on April 20, 2020, 4:09 p.m.