toBoolean

fun toBoolean(value: Any): Expression

["to-boolean", value]. Serializes for Mapbox native layers. GLES Feature-path evaluation does not run this operator except a narrow symbol-color path.