isString: isString

Description Usage Arguments Value See Also Examples

View source: R/rpraat.R

Description

Returns TRUE / FALSE whether it is exactly 1 character string (character vector of length 1, non-missing)

Usage

1
isString(string)

Arguments

string

variable to be tested

Value

TRUE / FALSE

See Also

isInt, isNum, isLogical

Examples

1
2
3
4
isString("hello")
isString(2)
isString(c("hello", "world"))
isString(NA_character_)

rPraat documentation built on Feb. 28, 2021, 1:06 a.m.