not_empty: Check if a vector or data frame is empty

View source: R/predicates.R

not_emptyR Documentation

Check if a vector or data frame is empty

Description

Check if a vector or data frame is empty

Usage

not_empty(a)

Arguments

a

Object to check

Value

TRUE or FALSE

Examples

not_empty(integer())
not_empty(list())
not_empty(1:10)
not_empty(data.frame())
not_empty(data.frame(a = 1:10))

maybe documentation built on Aug. 7, 2023, 5:11 p.m.