DoubleValue

data class DoubleValue(val value: Value)

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.

Properties

Link copied to clipboard

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

Link copied to clipboard