Checks if the given @value is of the correct type and within the permitted range for @key.
It is a programmer error if @value is not of the correct type -- you must check for this first.
the value to check
Return: %TRUE if @value is valid for @key
2.40
See Implementation
Checks if the given @value is of the correct type and within the permitted range for @key.
It is a programmer error if @value is not of the correct type -- you must check for this first.