Deque.peekback
From OpenEUO
Revision as of 16:35, 18 December 2010 by Ximan (Talk | contribs) (Created page with "== Calling Pattern == Call local d = sl.deque() -- later local r = d.peekback() Results r is any type == Description == Calling peekback returns the value at the back of th...")
Calling Pattern
Call
local d = sl.deque() -- later local r = d.peekback()
Results
r is any type
Description
Calling peekback returns the value at the back of the queue, without actually removing it. If the queue is empty, peekback returns nil. Deque.back is a synonym for peekback.
Upon Error
Errors are reported and handled according to the operant error redirection mode.