Skip to main content

interface Intl.Locale

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

Properties #

#variants: string | undefined
readonly

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

Did you find what you needed?

Privacy policy