DoubleValue

data class DoubleValue(val value: Double) : VariableValue

If this feature uses the double integer variation type, this field contains the double integer value of this variation.

Constructors

Link copied to clipboard
constructor(value: Double)

Properties

Link copied to clipboard

Inherited functions

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

Casts this VariableValue as a DoubleValue and retrieves its kotlin.Double value. Returns null if the VariableValue is not a DoubleValue.

Link copied to clipboard

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

Link copied to clipboard

Casts this VariableValue as a LongValue and retrieves its kotlin.Long value. Returns null if the VariableValue is not a LongValue.

Link copied to clipboard

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

Link copied to clipboard

Casts this VariableValue as a StringValue and retrieves its kotlin.String value. Returns null if the VariableValue is not a StringValue.