Skip to content

Commit

Permalink
docs: document internals
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnCoene committed Apr 5, 2022
1 parent e3b34e5 commit 74ad22d
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
7 changes: 7 additions & 0 deletions R/render.R
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,13 @@ print.renderer <- function(x, ...) {
cli::cli_alert_info("A renderer")
}

#' Is Renderer
#'
#' Check whether an object is a renderer.
#'
#' @param obj Object to check.
#'
#' @return Boolean
is_renderer_obj <- function(obj) {
inherits(obj, "renderer")
}
17 changes: 17 additions & 0 deletions man/is_renderer_obj.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 74ad22d

Please sign in to comment.