Tests if an object is a character string
is_not_string() tests the opposite condition

is_string(x)

Arguments

x

an R object

Examples

is_string("test_me") # TRUE
#> [1] TRUE

is_string(1:10) # FALSE
#> [1] FALSE