Sign in Join
FPDoc Onlineexperiment

TObject.Equals function

Member of TObjectpublicIn unit System

Check if two objects are equal.

Declaration

pascal
function Equals(Obj: TObject): Boolean; virtual

Description

Equals returns True if the object instance pointer ( Self) equals the instance pointer Obj.

Descendent classes can override to check properties etc. in case the instance pointers are different.

See also

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