IDeque<T>.AddFirst Method

Definition

Adds an element to the front of the deque.

Delphi
function AddFirst(const item: T): Boolean

Parameters

item
T

The element to add to the deque. The value can be nil for reference types.

Returns

Boolean

True if the element was added, False otherwise.