Sign in Join
FPDoc Onlineexperiment

TObject.ClassNameIs function

Member of TObjectpublicIn unit System

Check whether the class name equals the given name.

Declaration

pascal
class function ClassNameIs(const name: RTLString): Boolean; overload
class function ClassNameIs(const name: ShortString): Boolean

Description

ClassNameIs checks whether Name equals the class name. It takes of case sensitivity.

See also

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