is_one_string: Determines if the argument is one string

View source: R/is_one_string.R

is_one_stringR Documentation

Determines if the argument is one string

Description

Determines if the argument is one string

Usage

is_one_string(x)

Arguments

x

the object to be determined of if it is one string

Value

TRUE if the argument is one string, FALSE otherwise

Author(s)

Richèl J.C. Bilderbeek

Examples

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()

richelbilderbeek/beastscriptr documentation built on April 9, 2024, 2:28 p.m.