Intl.Locale

interface

interface Intl.Locale

Augments the standard Intl.Locale interface with members not yet present in the bundled TypeScript library definitions.

Properties

variants

readonly variants: string | undefined

Returns the variant subtags of the locale as a single string, with subtags separated by -. Returns undefined if the locale has no variant subtags.

MDN Reference