Learn R Programming

radiant.data (version 1.4.5)

is_string: Is input a string?

Description

Is input a string?

Usage

is_string(x)

Value

TRUE if string, else FALSE

Arguments

x

Input

Examples

Run this code
is_string("   ")
is_string("data")
is_string(c("data", ""))
is_string(NULL)
is_string(NA)

Run the code above in your browser using DataLab