BooleanValue

data class BooleanValue(val value: Value) : HoldsValue

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.

Functions

Link copied to clipboard

True if this value is not INITIAL

Properties

Link copied to clipboard

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

Link copied to clipboard
open override val value: Value