R/is_zdd.R

Defines functions is_zdd

Documented in is_zdd

#' is_zdd
#'
#' @param zdd object
#'
#' @return TRUE if the object is the class of the zdd list object
#' @export
#'
#' @examples
#' is_zdd(as_zdd(FALSE)) # TRUE
#' is_zdd(3L)     # FALSE
is_zdd <- function(zdd) {
  return(class(zdd) == 'zdd')
}
jordagaman/zddr documentation built on June 29, 2021, 4:23 a.m.