R/is_units.R

#' is_units
#'
#' Is this a `units` object?
#'
#' @param x object
#' @return `TRUE` or `FALSE`
#'
#' @export
is_units <- function (x) {
  return(isTRUE(inherits(x, "units")))
}
BAAQMD/unittools documentation built on Jan. 28, 2024, 9:14 p.m.