Nothing
#' @export
#' @title Check if an rpqueue is empty
#' @description Check if an rpqueue is empty.
#' @details Runs in \eqn{O(1)} time.
#' @param x the rpqueue to check.
#' @param ... additional arguments to be passed to or from methods (ignored).
#' @return logical vector of length 1.
#' @seealso \code{\link{empty}} for the generic function that can be used on rstacks, rdeques, and rpqueues.
empty.rpqueue <- function(x, ...) {
if(length(x) > 0) {return(FALSE)}
return(TRUE)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.