is.empty {radiant.data}R Documentation

Is a variable empty

Description

Is a variable empty

Usage

is.empty(x, empty = "\\s*")

Arguments

x

Character value to evaluate

empty

Indicate what 'empty' means. Default is empty string (i.e., "")

Details

Is a variable empty

Value

TRUE if empty, else FALSE

Examples

is.empty("")
is.empty(NULL)
is.empty(NA)
is.empty(c())
is.empty("none", empty = "none")
is.empty("")
is.empty("   ")
is.empty(" something  ")
is.empty(c("", "something"))
is.empty(c(NA, 1:100))
is.empty(mtcars)

[Package radiant.data version 1.6.6 Index]