Deque.size

From OpenEUO
Jump to: navigation, search

Calling Pattern

Call

local d = sl.deque()
-- later
local r = d.size()

Results

r is a number

Description

Calling size returns the current number of values buffered by the queue.

Upon Error

Errors are reported and handled according to the operant error redirection mode.

See Also