StringListValue

@Immutable
data class StringListValue(val value: Value)

Defines a list of String primitive that can accommodate a list of String.

Parameters

value

a value representing a string.

Constructors

Link copied to clipboard
fun StringListValue(vararg value: String)

Create a StringListValue that contains string value.

Link copied to clipboard
fun StringListValue(value: List<String>)

Create a StringListValue that contains string value.

Link copied to clipboard
fun StringListValue(expression: Expression)

Construct the primitive with Mapbox Expression.

Link copied to clipboard
fun StringListValue(value: Value)

Types

Link copied to clipboard
object Companion

StringValue's companion object.

Properties

Link copied to clipboard
val stringListOrNull: List<String>?

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

Link copied to clipboard
val value: Value