R/letters_only.R

Defines functions letters_only

Documented in letters_only

#' Check that a string is only letters
#'
#' @param x
#'
#' @return
#' @export
#'
#' @examples
letters_only <- function(x){
  return(!grepl("[^A-Za-z]", x) )
}
pietroreggiani/RmyTools documentation built on May 23, 2022, 5:24 p.m.