is_empty_object {insight} | R Documentation |
Check if object is empty
is_empty_object(x)
x |
A list, a vector, or a dataframe. |
A logical indicating whether the entered object is empty.
is_empty_object(c(1, 2, 3, NA))
is_empty_object(list(NULL, c(NA, NA)))
is_empty_object(list(NULL, NA))