IDeque<T>.TryRemoveLast Method

Definition

Attempts to remove and return the element at the back of the deque.

Delphi
function TryRemoveLast(var item: T): Boolean

Parameters

item
T

The element that was removed if the operation was successful and the deque does not have ownership of the instances; Default(T) otherwise.

Returns

Boolean

True if an element was removed; otherwise, False .