IStack<T>.PeekOrDefault Method

Definition

Returns the element at the top of the stack without removing it. Returns Default(T) if the stack is empty.

Delphi
function PeekOrDefault: T

Returns

T