R/is.R

Defines functions is_feature is_instance is_type

Documented in is_feature is_instance is_type

#' Is it a Q7 Type, Instance or Feature?
#'
#' @param x object
#'
#' @return Boolean
#' @name is
NULL

#' @rdname is
#' @export
is_type <- function(x){
    inherits(x, "Q7type")
}

#' @rdname is
#' @export
is_instance <- function(x){
    inherits(x, "Q7instance")
}

#' @rdname is
#' @export
is_feature <- function(x){
    inherits(x, "Q7feature")
}
iqis/foo documentation built on March 27, 2022, 8:43 p.m.