asBoolValue

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