range_check


Description:

[ Version ( deprecated = true , deprecated_since = "2.40" , since = "2.28" ) ]
public bool range_check (string key, Variant value)

Warning: range_check is deprecated since 2.40.

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

Note:

Use [method@Gio.SettingsSchemaKey.range_check] instead.

Parameters:

this

the settings object

key

the key to check

value

the value to check

Returns:

true if value is valid for key, false otherwise