#' Checks whether the given function is noisy.
#'
#' @template arg_smoof_function
#' @return [\code{logical(1)}]
#' \code{TRUE} if the function is noisy, \code{FALSE} otherwise.
#' @export
isNoisy = function(fn) {
UseMethod("isNoisy")
}
#' @export
isNoisy.smoof_function = function(fn) {
return(attr(fn, "noisy"))
}
#' @export
isNoisy.smoof_wrapped_function = function(fn) {
return(isNoisy(getWrappedFunction(fn)))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.