Check if a vector or data frame is empty
Examples
not_empty(integer())
#> [1] FALSE
not_empty(list())
#> [1] FALSE
not_empty(1:10)
#> [1] TRUE
not_empty(data.frame())
#> [1] FALSE
not_empty(data.frame(a = 1:10))
#> [1] TRUE
Check if a vector or data frame is empty
not_empty(integer())
#> [1] FALSE
not_empty(list())
#> [1] FALSE
not_empty(1:10)
#> [1] TRUE
not_empty(data.frame())
#> [1] FALSE
not_empty(data.frame(a = 1:10))
#> [1] TRUE