powered by
Is object an empty vector or NULL?
is_empty(x)
object to test
# NOT RUN { is_empty(NULL) is_empty(list()) is_empty(list(NULL)) # }
Run the code above in your browser using DataLab