empty.rpqueue: Check if an rpqueue is empty

Description Usage Arguments Details Value See Also

View source: R/empty.rpqueue.R

Description

Check if an rpqueue is empty.

Usage

1
2
## S3 method for class 'rpqueue'
empty(x, ...)

Arguments

x

the rpqueue to check.

...

additional arguments to be passed to or from methods (ignored).

Details

Runs in O(1) time.

Value

logical vector of length 1.

See Also

empty for the generic function that can be used on rstacks, rdeques, and rpqueues.


rstackdeque documentation built on May 19, 2017, 3:07 p.m.

Search within the rstackdeque package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.