R/types.R
is_empty.Rd
Is object an empty vector or NULL?
is_empty(x)
object to test
is_empty(NULL)#> [1] TRUEis_empty(list())#> [1] TRUEis_empty(list(NULL))#> [1] FALSE