toBoolean

fun toBoolean(value: Any): Expression

["to-boolean", value]. Evaluated on GLES as well as by Mapbox native layers.