Check if data has length and rows

no_data_now(x)

Arguments

x

A data frame or list to check

Examples

no_data_now(data.frame())
#> [1] TRUE
no_data_now(data.frame(a = 1))
#> [1] FALSE