Learn R Programming

beautier (version 2.6.12)

is_one_string: Determines if the argument is one string

Description

Determines if the argument is one string

Usage

is_one_string(x)

Value

TRUE if the argument is one string, FALSE otherwise

Arguments

x

the object to be determined of if it is one string

Author

Richèl J.C. Bilderbeek

Examples

Run this code
check_empty_beautier_folder()

# TRUE
is_one_string("This is one string")

# FALSE
is_one_string(NULL)
is_one_string(NA)
is_one_string(Inf)
is_one_string(314)
is_one_string(0)
is_one_string(-314)
is_one_string(3.14)
is_one_string(c("a", "b"))
is_one_string(is_one_string)
is_one_string(c())
is_one_string(c(1, 2))

check_empty_beautier_folder()

Run the code above in your browser using DataLab