SettingsSchemaKey.rangeCheck

bool rangeCheck(glib.variant.Variant value)

Checks if the given value is 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.

Parameters

valuethe value to check

Returns

true if value is valid for key