R/index.R

Defines functions idx_cols

Documented in idx_cols

#' Retrieve index columns of an idx_tbl
#'
#' @param x an idx_tbl
#' @export
idx_cols <- function(x) {
  stopifnot(inherits(x, "idx_tbl"))
  attr(x, "idx_cols")
}
jameelalsalam/indexvctrs documentation built on Oct. 28, 2023, 3:26 a.m.