powered by
NULL
Drop NULL values from list or vectors
drop_nulls(x, .invalids = list("is.null"))
list to check
a list of functions, or function name. Default is 'is.null'.
list or vector containing no invalid values
# NOT RUN { x <- list(NULL,NULL,1,2) drop_nulls(x) # length of 2 # }
Run the code above in your browser using DataLab