gobj_typeof_gclass()
#
Checks if the given hgobj
belongs to the specified gclass.
Prototype
BOOL gobj_typeof_gclass(
hgobj gobj,
const char *gclass_name
);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
The object whose gclass is to be checked. |
|
|
The name of the gclass to compare against. |
Return Value
Returns TRUE
if the hgobj
belongs to the specified gclass, otherwise returns FALSE
.
Notes
This function performs a strict comparison against the object’s gclass and does not check for inherited gclasses.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples