IDeque<T>.TryExtractLast Method
Definition
Attempts to remove and return the element at the back of the deque. If the deque has ownership over the instances, then ownership of the returned element is transferred to the caller.
Delphi
function TryExtractLast(var item: T): Boolean
Parameters
- item
- T
The element that was removed if the operation was successful; Default(T) otherwise.
Returns
Boolean
True if an element was removed; otherwise, False .