Deque.capacity
From OpenEUO
Calling Pattern
Call
local d = sl.deque() -- later local r = d.capacity()
Results
r is a number
Description
Calling capacity returns the maximum capacity of the queue. Currently capacity is unlimited, as denoted by a return value of -1. Future versions (0.07+) of deque will allow an upper bound to be specified in order to support circular queues.
Upon Error
Errors are reported and handled according to the operant error redirection mode.