Function js_sys::Intl::get_canonical_locales
source · pub fn get_canonical_locales(s: &JsValue) -> Array
Expand description
The Intl.getCanonicalLocales()
method returns an array containing
the canonical locale names. Duplicates will be omitted and elements
will be validated as structurally valid language tags.