Skip to content

TCustomBucketList.Exists

Check if an item exists in the list.

Declaration

Source position: contnrs.pp line 568

public 
function TCustomBucketList.Exists(AItem: Pointer) : Boolean;

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

Name Description
TCustomBucketList.Find Find an item in the list.