powered by
list.clean(.data, fun = function(x) is.null(x) || length(x) == 0L)
list
function
x <- list(a=NULL,b=NULL,c=NULL,d=1,e=2) list.clean(x)
Run the code above in your browser using DataLab