StringValue

data class StringValue(val value: Value)

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.

Properties

Link copied to clipboard

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

Link copied to clipboard