Skip to content

TObjectList.Last

Return the last non-nil object in the list.

Declaration

Source position: contnrs.pp line 99

public 
function TObjectList.Last : TObject;

Description

Last returns a reference to the last non-Nil element in the list. If no non-Nil element is found, Nil is returned.

Errors

None.

See also

Name Description
TObjectList.First Return the first non-nil object in the list.