is.empty: Determine if an object is empty

View source: R/rmd.util.r

is.emptyR Documentation

Determine if an object is empty

Description

Determine if an object is zero length list or factor, or a vector full of NULL, space, dot,NA, Inf, or NaN. It returns a single boolean value.

Usage

is.empty(x)

Arguments

x

(any object)

Value

(boolean) a single value

Examples

is.empty(c(' ','.'))
is.empty(list(NULL))

blueskypie/wfr documentation built on Feb. 6, 2024, 4:38 p.m.