blank: Is an Object a Scalar Blank String?

View source: R/blank.R

blankR Documentation

Is an Object a Scalar Blank String?

Description

Evaluates whether x is a blank string scalar (i.e., "").

Usage

blank(x)

Arguments

x

An R object

Value

A logical scalar

See Also

Other strings: chn(), delim(), fsub(), gr, ipat(), makestr(), markdown_help(), maxnch(), ox(), ox_vals(), pgrid_help(), revstr(), spaces(), ss_help(), tocase(), weave()

Examples

blank("")
blank(2)
blank(NA)
blank(NULL)
blank(v(blank))
blank(c("", ""))

j-martineau/uj documentation built on Sept. 14, 2024, 4:40 a.m.