checkValue

fun checkValue(value: Any?)(source)

Throws an exception if the parameter cannot accept the given value. Not throwing does not guarantee acceptance (although it typically will be accepted).

See also