powered by
Are objects empty vectors or NULL?
are_empty(..., .all = FALSE)
Named logical, or unnamed boolean if .all is TRUE.
.all
TRUE
Objects to be tested.
Whether to return if all arguments are TRUE.
is_empty
x <- 1 y <- NULL z <- list() are_empty(x, y, z, NULL) are_empty(x, y, z, NULL, .all = TRUE) are_empty(list(NULL))
Run the code above in your browser using DataLab