is.string: Strings

Description Usage Arguments Value Examples

Description

Checks if provided object is a string i.e. a length-one character vector.

Usage

1

Arguments

x

an object to check

Value

a logical value indicating whether provided object is a string

Examples

1
2
3
is.string("foobar")          # [1] TRUE
    is.string(1)                 # [1] FALSE
    is.string(c("foo", "bar"))   # [1] FALSE


Search within the rapportools package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.