R/named.R

Defines functions is.named

Documented in is.named

#' Test if named
#'
#' @param x the object to test
#' @return A logical scalar indicating whether named
#' @export
#' @examples
#' is.named(1)
is.named <- function(x) {
  is.character(names(x))
}
poissonconsulting/poisutils documentation built on Feb. 26, 2023, 10 a.m.