Sign in Join
FPDoc Onlineexperiment

TFPGMapObject.IndexOf function

Member of TFPGMapObjectpublicIn unit fgl

Find index of a key in the list.

Declaration

pascal
function IndexOf(const AKey: TKey): Integer

Arguments

AKey

Key value to search.

Function result

Index of AKey in the list, -1 if not present.

Description

IndexOf returns the index of AKey in the list, or -1 if the key was not found in the list.

Errors

None.

See also

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