powered by
Check if object is empty
is_empty_object(x)
A logical indicating whether the entered object is empty.
A list, a vector, or a dataframe.
is_empty_object(c(1, 2, 3, NA)) is_empty_object(list(NULL, c(NA, NA))) is_empty_object(list(NULL, NA))
Run the code above in your browser using DataLab