isSupportedScript

Returns true if the input string is expected to render legibly. Returns false if the input string contains sections that cannot be rendered without potential loss of meaning (e.g. Indic scripts that require complex text shaping, or right-to-left scripts if the the mapbox-gl-rtl-text plugin is not in use in Mapbox GL JS).

fun isSupportedScript(vararg expressions: Array<out Expression>): Expression
fun isSupportedScript(script: String): Expression

DSL function for "is-supported-script".

fun isSupportedScript(block: Expression.ExpressionBuilder.() -> Unit): Expression