Settings.rangeCheck

Checks if the given value is of the correct type and within the permitted range for key. This API is not intended to be used by normal programs -- they should already know what is permitted by their own schemas. This API is meant to be used by programs such as editors or commandline tools. It is a programmer error to give a key that isn't contained in the schema for settings. Since 2.28

class Settings
int
rangeCheck
(
string key
,)

Parameters

key string

the key to check

value Variant

the value to check

Return Value

Type: int

TRUE if value is valid for key

Meta