#' @export
make_is <- function(class, env = parent.frame()) {
f <- eval(bquote(function(x) {
inherits(x, .(class))
}))
environment(f) <- env
f
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.