isSupportedScript

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

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).