Gio.SettingsSchemaKey.prototype.range_check
function range_check(value: GLib.Variant): Boolean {
// Gjs wrapper for g_settings_schema_key_range_check()
}
Checks if the given value is of the correct type and within the permitted range for key.
It is a programmer error if value is not of the correct type -- you must check for this first.
Since 2.40
- value
the value to check
- Returns
true if value is valid for key