Gio.Permission.prototype.get_allowed
function get_allowed(): Boolean {
// Gjs wrapper for g_permission_get_allowed()
}
Gets the value of the 'allowed' property. This property is true if the caller currently has permission to perform the action that permission represents the permission to perform.
Since 2.26
- Returns
the value of the 'allowed' property