dot-is_empty: Internal functions

Description Usage Arguments Value

Description

Checks if a value is empty. The meaning of empty state depends on x class. If x is a data.frame, the object is empty if it has zero columns or zero rows. If x is a character vector, it is empty if x has length zero, has at least one NA, or "" value. If x is a numeric vector, it is empty if it has length zero or has at least one NA as its element. If x is a list, it is empty if it has length zero. Otherwise, it is empty if it is NULL or has length zero.

Usage

1

Arguments

x

Any object to be tested.

Value

TRUE if x is empty. FALSE otherwise.


rolfsimoes/coverage documentation built on May 24, 2019, 9:48 p.m.