JCL Help:IsClass

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Returns whether a pointer points to a class.


Pascal

 function IsClass(Address: Pointer): Boolean;


Parameters

Parameters Description
Address: Pointer The address to test. Note that this should be the equivalent of Obj.ClassType where Obj is an instance of TObject or descendant class.


Return Value

The result is True if the Address is a class otherwise it is False.


Description

IsClass tests whether the specified pointer points to a class. Currently the implementation only test whether the Self pointer actually points to the class itself.


See Also

IsObject


About

Unit

JclSysUtils


Donator

Python


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