asDoubleValue

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