Learn R Programming

rstackdeque (version 1.1.1)

empty.rdeque: Check if an rdeque is empty

Description

Check if an rdeque is empty.

Usage

"empty"(x, ...)

Arguments

x
the rdeque to check.
...
additional arguments to be passed to or from methods (ignored).

Value

logical vector of length 1.

Details

Runs in $O(1)$ time.

See Also

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