Gio.ActionGroup.prototype.has_action
function has_action(action_name: String): Boolean { // Gjs wrapper for g_action_group_has_action() }
Checks if the named action exists within action_group.
Since 2.28
- action_name
the name of the action to check for
- Returns
whether the named action exists