rangeCheck

open fun rangeCheck(key: String, value: <Error class: unknown class>): Boolean(source)

⚠️ Deprecated ⚠️

This is deprecated since version 2.40.

Use g_settings_schema_key_range_check() instead.

---

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

Return

true if @value is valid for @key

Since

2.28

Parameters

key

the key to check

value

the value to check