Check if a table has rows.

replyr_hasrows(d)

Arguments

d

tbl or item that can be coerced into such.

Value

number of rows

Examples

d <- data.frame(x=c(1,2)) replyr_hasrows(d)
#> [1] TRUE