LongValue

@Immutable
data class LongValue(val value: Value) : HoldsValue

Defines a Number primitive that can accommodate a Long.

Parameters

value

a value representing a number. See Number

Constructors

Link copied to clipboard
fun LongValue(value: Long)

Create a LongValue that contains long value.

Link copied to clipboard
fun LongValue(expression: Expression)

Construct the primitive with Mapbox Expression.

Link copied to clipboard
fun LongValue(value: Value)

Types

Link copied to clipboard
object Companion

LongValue's companion object.

Functions

Link copied to clipboard
@RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP])
open override fun isNotInitial(): Boolean

True if the this value is not INITIAL

Properties

Link copied to clipboard

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

Link copied to clipboard
open override val value: Value