StringValue

data class StringValue(val value: Value) : HoldsValue

Defines a String primitive that can accommodate a String. See String.

Parameters

value

a value representing a string.

Constructors

Link copied to clipboard
fun StringValue(value: String)

Create a StringValue that contains string value.

Link copied to clipboard
fun StringValue(expression: Expression)

Construct the primitive with Mapbox Expression.

Link copied to clipboard
fun StringValue(value: Value)

Types

Link copied to clipboard
object Companion

StringValue's companion object.

Functions

Link copied to clipboard

True if the this value is not INITIAL

Properties

Link copied to clipboard

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

Link copied to clipboard
open override val value: Value