BooleanValue

data class BooleanValue(val value: Value)

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

Parameters

value

a value representing a boolean.

Constructors

Link copied to clipboard
fun BooleanValue(value: Boolean)

Create a BooleanValue that contains boolean value.

Link copied to clipboard
fun BooleanValue(expression: Expression)

Construct the primitive with Mapbox Expression.

Link copied to clipboard
fun BooleanValue(value: Value)

Types

Link copied to clipboard
object Companion

BooleanValue's companion object.

Properties

Link copied to clipboard

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

Link copied to clipboard