[Overview][Types][Classes][Procedures and functions] Reference for unit 'contnrs' (#fcl)

THTNode.HasKey

Check whether this node matches the given key.

Declaration

Source position: contnrs.pp line 199

public function THTNode.HasKey(

  const AKey: String

):Boolean;

Arguments

AKey

  

Key to check for

Function result

Trueif the key matches, Falseif not.

Description

HasKeychecks whether this node matches the given key AKey, by comparing it with the stored key. It returns Trueif it does, Falseif not.

Errors

None.

See also

THTNode.Key

  

Key value associated with this hash item.