asBooleanOrNull

Casts this ParameterValue as a Boolean and retrieves its kotlin.Boolean value. Returns null if the ParameterValue is not a Boolean.