R/utils.R

Defines functions is.tbl_spark is.tbl_lazy

Documented in is.tbl_lazy is.tbl_spark

#' Lazy R Object Checks
#'
#' @param x Any R object.
#'
#' @return A `logical(1)`.
#'
#' @export
is.tbl_lazy <- function(x) {
  inherits(x = x, what = "tbl_lazy")
}

#' @rdname is.tbl_lazy
#' @export
is.tbl_spark <- function(x) {
  inherits(x = x, what = "tbl_spark")
}
nathaneastwood/sparkplugs documentation built on Feb. 28, 2021, 4:57 p.m.