Learn R Programming

searchable (version 0.3.3.1)

is.string: Test if an object is a string

Description

A string is a one element character vector

Usage

is.string(x)

Arguments

x
Equivalent to: is.character(x) && length(x) == 1