DoubleValue

data class DoubleValue(val value: Value) : HoldsValue

Defines a Number primitive that can accommodate a Double.

Parameters

value

a value representing a number. See Number

Constructors

Link copied to clipboard
fun DoubleValue(value: Double)

Create a DoubleValue that contains finite double value.

Link copied to clipboard
fun DoubleValue(expression: Expression)

Construct the primitive with Mapbox Expression.

Link copied to clipboard
fun DoubleValue(value: Value)

Types

Link copied to clipboard
object Companion

DoubleValue's companion object.

Functions

Link copied to clipboard

True if the this value is not INITIAL

Properties

Link copied to clipboard

The Double represented by value or null if the stored Value is not a Double.

Link copied to clipboard
open override val value: Value