JCL Help:JclIsClass
From Project JEDI Wiki
Jump to navigationJump to searchJCL Help: JclIsClass Function
Search in JCL Help
Search in all projects
Summary
Is class operator replacement.
Pascal
function JclIsClass(const AnObj: TObject; const AClass: TClass): Boolean;
Return Value
If AnObj's class is AClass or inherits from AClass the function returns True, otherwise it returns False.
Description
JclIsClass is an is class operator replacement. This implementation is an exact copy of the one in the system.pas unit. JclIsClass is primarily intended to be used by the JclIsHook function. Because JclIsClass is an exact copy of the version in system.pas it's probably not very usefull to hook the is operator to an exact copy. It was used during testing.
About
Unit
Donator
Borland/Codegear/Embarcadero
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page