IDeque<T>.TryRemoveFirst Method
Definition
Attempts to remove and return the element at the front of the deque.
Delphi
function TryRemoveFirst(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 .