Sign in Join
FPDoc Onlineexperiment

TCustomBucketList.Exists function

Member of TCustomBucketListpublicIn unit Contnrs

Check if an item exists in the list.

Declaration

pascal
function Exists(AItem: Pointer): Boolean

Arguments

AItem

Item to search for.

Function result

True if the item exists in the list, False if not.

Description

Exists searches the list and returns True if the AItem is already present in the list. If the item is not yet in the list, False is returned.

If the data pointer associated with AItem is also needed, then it is better to use Find.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.