Gio.SettingsSchema.prototype.has_key

function has_key(name: String): Boolean {
    // Gjs wrapper for g_settings_schema_has_key()
}
  

Checks if schema has a key named name.

Since 2.40

name

the name of a key

Returns

true if such a key exists