R/first_non_null.R

Defines functions first_non_null

# from microbenchmark package

first_non_null <- function (...) 
{
  isnotnull <- function(x) !is.null(x)
  Find(isnotnull, list(...))  
}
andrewhooker/MBAOD documentation built on June 3, 2017, 5:12 p.m.