Learn R Programming

beautier (version 2.6.12)

is_one_empty_string: Determine if an object is one empty string

Description

Determine if an object is one empty string

Usage

is_one_empty_string(x)

Value

TRUE is `x` is one string that is empty

Arguments

x

the object that may be one string that may be empty

Author

Richèl J.C. Bilderbeek

Examples

Run this code
# 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")

Run the code above in your browser using DataLab