gobj_has_attr()
#
Checks if the given hgobj
has an attribute with the specified name.
Prototype
BOOL gobj_has_attr(
hgobj hgobj,
const char *name
);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
The |
|
|
The name of the attribute to check. |
Return Value
Returns TRUE
if the attribute exists, otherwise returns FALSE
.
Notes
This function performs a case-sensitive check for the attribute name.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples