Is string

Description

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

Usage

1

Arguments

x

an R object

Examples

1
2
3
is_string("test_me") # TRUE

is_string(1:10) # FALSE

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.