Learn R Programming

radiant.data (version 1.0.6)

is_string: Is input a string?

Description

Is input a string?

Usage

is_string(x)

Arguments

x

Input

Value

TRUE if string, else FALSE

Examples

Run this code
# NOT RUN {
is_string("   ")
is_string("data")
is_string(c("data", ""))
is_string(NULL)
is_string(NA)

# }

Run the code above in your browser using DataLab