empty.rdeque: Check if an rdeque is empty

Description

Check if an rdeque is empty.

Usage

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

Arguments

x

the rdeque 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.


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

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