is_one_empty_string {beautier} | R Documentation |
Determine if an object is one empty string
is_one_empty_string(x)
x |
the object that may be one string that may be empty |
TRUE is 'x' is one string that is empty
Richèl J.C. Bilderbeek
# 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")