rangeCheck

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

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