(locale: string)
| 250 | } |
| 251 | |
| 252 | export function parseUnicodeLocaleId(locale: string): UnicodeLocaleId { |
| 253 | const chunks = locale.split(SEPARATOR) |
| 254 | const lang = parseUnicodeLanguageId(chunks) |
| 255 | return { |
| 256 | lang, |
| 257 | ...parseExtensions(chunks), |
| 258 | } |
| 259 | } |
no test coverage detected