R/is.coded.R

Defines functions is.code

Documented in is.code

#' Check if object is a code
#'
#' @param x object to check
#'
#' @return
#' Returns a logical of length 1 indicating whether or not \code{X} is of 
#' type 'code'.
#'
#' @export
is.code <- function(x) {
  methods::is(x, "code")
}

Try the codelist package in your browser

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

codelist documentation built on April 12, 2025, 2:25 a.m.