[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'Maps' (#lazutils)

TMap.HasId

Checks for the specified ID is in the AVL Tree for the map.

Declaration

Source position: maps.pp line 167

public function TMap.HasId(

  const AID

):Boolean;

Arguments

AID

  

Map item to locate in the AVL Tree.

Function result

True when the AVL Tree contains a node for the specified map item.

Description

HasId is a Boolean function used to locate the specified map item in the AVL Tree for the map. HasId calls the FindNode method to located the value in AId. The return value is True when FindNode returns a value other than Nil.


Version 3.2 Generated 2024-02-25 Home