Skip to content

TOrderedList.Peek

Return the next element to be popped from the list.

Declaration

Source position: contnrs.pp line 154

public 
function TOrderedList.Peek : Pointer;

Description

Peek returns the element that will be popped from the list at the next call to Pop, without actually popping it from the list.

Errors

None.

See also

Name Description
TOrderedList.Pop Remove an element from the list.
TOrderedList.Push Push another element on the list.