R/utils.R

Defines functions assert_pkd_vctr

assert_pkd_vctr <- function(x) {
  if (!inherits(x, "pkd_vctr")) {
    abort("`x` must inherit from 'pkd_vctr'")
  }

  invisible(x)
}
paleolimbot/pkd documentation built on Sept. 25, 2020, 12:58 a.m.