R/is_delayed_array.R

Defines functions is_delayed_array

Documented in is_delayed_array

#' Assess whether an object is a DelayedArray.
#'
#' Assess whether an object is a DelayedArray or one of
#'  its derived object types.
#'
#' @param X Object.
#' 
#' @return boolean
#' 
#' @importFrom methods is
is_delayed_array <- function(X) {
    methods::is(X, "DelayedMatrix") |
        methods::is(X, "DelayedArray")
}
NathanSkene/EWCE documentation built on Nov. 3, 2024, 8:16 a.m.