An implementation of a double-ended queue.
Returns the total number of values stored.
This method only operates on data in memory.
Returns: number
Iterates over the deque from left to right.
Returns: function
Returns the value at the left side of the deque without removing it.
Returns: *
Returns the value at the right side of the deque without removing it.
Removes and returns a value from the left side of the deque.
Removes and returns a value from the right side of the deque.
Adds a value of any type to the left side of the deque.
Returns: nil
Adds a value of any type to the right side of the deque.
There was an error while loading. Please reload this page.