R/valid_id.R

Defines functions valid_id

Documented in valid_id

#' Basic check of whether the characters in a string is equal to 36
#' 
#' @param x A character string.
#' 
#' @return logical value indicating whether the string checked consists of 36
#'  characters.
valid_id <- function(x) {
  
  return(nchar(as.character(x)) == 36)
  
}

Try the odns package in your browser

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

odns documentation built on Nov. 10, 2022, 5:56 p.m.