deque-empty? ( deque -- ? )
Factor handbook » The language » Collections » Deques

Prev:peek-back ( deque -- obj )
Next:deque-member? ( value deque -- ? )


Vocabulary
deques

Inputs
dequea deque


Outputs
?a boolean


Generic word contract
Returns true if a deque is empty.

Notes
This operation is O(1).

Examples
USING: deques prettyprint unrolled-lists ; <unrolled-list> deque-empty? .
t


Definition


Methods