R/is_gifti.R

Defines functions is.gifti

Documented in is.gifti

#' @title Test if GIFTI
#' @description Simple wrapper to determine if class is GIFTI
#'
#' @param x object to test
#'
#' @return Logical if \code{x} is GIFTI
#' @export
is.gifti = function(x) {
  inherits(x, "gifti")
}

#' @export
#' @rdname is.gifti
is_gifti = is.gifti
neuroconductor/gifti documentation built on Feb. 6, 2023, 6:52 a.m.