isSupportedScript constant
String
const 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 MapHero JS).
Sdk Support: basic functionality with js, android
Implementation
static const isSupportedScript = "is-supported-script";