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 range_check instead.

Parameters:

this

a Settings

key

the key to check

value

the value to check

Returns:

true if value is valid for key