empty.rdeque {rstackdeque} | R Documentation |
Check if an rdeque is empty.
## S3 method for class 'rdeque' empty(x, ...)
x |
the rdeque 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.