tester (version 0.1.7)

is_string: Is string

Description

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

Usage

is_string(x)

Arguments

x

an R object

Examples

Run this code
is_string("test_me") # TRUE

is_string(1:10) # FALSE

Run the code above in your browser using DataCamp Workspace