# String Functions
▸ is-supported-script() (opens new window)
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).▸ upcase() (opens new window)
Returns the input string converted to uppercase. Follows the Unicode Default Case Conversion algorithm and the locale-insensitive case mappings in the Unicode Character Database.
▸ downcase() (opens new window)
Returns the input string converted to lowercase. Follows the Unicode Default Case Conversion algorithm and the locale-insensitive case mappings in the Unicode Character Database.
▸ concat() (opens new window)
Returns a
string consisting of the concatenation of the inputs. Each input is converted to a string as if by to-string.▸ resolved-locale() (opens new window)
Returns the IETF language tag of the locale being used by the provided
collator. This can be used to determine the default system locale, or to determine if a requested locale was successfully loaded.