asBoolean

Casts this ParameterValue as a Boolean and retrieves its kotlin.Boolean value. Throws an exception if the ParameterValue is not a Boolean.