Settings.rangeCheck

bool rangeCheck(string key, glib.variant.Variant value)

Checks if the given value is of the correct type and within the permitted range for key.

Parameters

keythe key to check
valuethe value to check

Returns

true if value is valid for key

Deprecated

Use [gio.settings_schema_key.SettingsSchemaKey.rangeCheck] instead.