Is object an empty vector or NULL?
is_empty(x)
x
object to test
is_empty(NULL) is_empty(list()) is_empty(list(NULL))
Functions for Base Types and Core R and 'Tidyverse' Features
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.