gobj_yuno_role()
#
Returns the role of the current Yuno instance as a string.
Prototype
const char *gobj_yuno_role(void);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
This function does not take any parameters. |
Return Value
A string representing the role of the Yuno instance. If the Yuno instance is not available, an empty string is returned.
Notes
The function retrieves the value of the yuno_role
attribute from the Yuno instance using gobj_read_str_attr()
.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples