IStack<T>.Push Method

Definition

Adds an element at the top of the stack.

Delphi
function Push(const item: T): Boolean

Parameters

item
T

The element to push onto the stack.

Returns

Boolean

True if the element was added; otherwise, False .