R/is.string.R

Defines functions is.string

Documented in is.string

#' Test if an object is a string
#' 
#' A string is a one element character vector
#' 
#' @param x
#' 
#' Equivalent to: \cr
#'   \code{ is.character(x) && length(x) == 1 }
   
is.string <- function(x) is.character(x) && length(x) == 1 

Try the searchable package in your browser

Any scripts or data that you put into this service are public.

searchable documentation built on May 29, 2017, 12:30 p.m.