Sign in Join
FPDoc Onlineexperiment

TObjectArray.Last function

Member of TObjectArraypublicIn unit ObjectLists

Gets the last TItem instance in the List, or Nil when empty.

Declaration

pascal
function Last: TItem

Description

Last is a TItem function used to get the last item instance in the allocated storage in List. Last uses the value in Count to determine the position for the last item/object association. When Count is zero ( 0), the List is empty and the return value is set to Nil.

See also

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.