asDoubleValue

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