empty.rpqueue {rstackdeque} | R Documentation |
Check if an rpqueue is empty.
## S3 method for class 'rpqueue' empty(x, ...)
x |
the rpqueue to check. |
... |
additional arguments to be passed to or from methods (ignored). |
Runs in O(1) time.
logical vector of length 1.
empty
for the generic function that can be used on rstacks, rdeques, and rpqueues.