powered by
Returns TRUE / FALSE whether it is exactly 1 character string (character vector of length 1, non-missing)
TRUE
FALSE
isString(string)
variable to be tested
TRUE / FALSE
isInt, isNum, isLogical
isInt
isNum
isLogical
# NOT RUN { isString("hello") isString(2) isString(c("hello", "world")) isString(NA_character_) # }
Run the code above in your browser using DataLab