is_one_empty_string: Determine if an object is one empty string

View source: R/is_one_empty_string.R

is_one_empty_stringR Documentation

Determine if an object is one empty string

Description

Determine if an object is one empty string

Usage

is_one_empty_string(x)

Arguments

x

the object that may be one string that may be empty

Value

TRUE is 'x' is one string that is empty

Author(s)

Richèl J.C. Bilderbeek

Examples

# TRUE
is_one_empty_string("")

# FALSE
is_one_empty_string("3.14")
is_one_empty_string(c("", ""))
is_one_empty_string(42)
is_one_empty_string("nonsense")

beautier documentation built on Nov. 2, 2023, 5:08 p.m.