R/isWrappedSmoofFunction.R

Defines functions isWrappedSmoofFunction

Documented in isWrappedSmoofFunction

#' Checks whether the function is of type \code{smoof_wrapped_function}.
#'
#' @param object [any]\cr
#'   Arbitrary R object.
#' @return [\code{logical(1)}]
#' @export
isWrappedSmoofFunction = function(object) {
  inherits(object, what = "smoof_wrapped_function")
}

Try the smoof package in your browser

Any scripts or data that you put into this service are public.

smoof documentation built on March 31, 2023, 11:48 p.m.