MCPcopy
hub / github.com/formatjs/formatjs / baseName

Method baseName

packages/intl-locale/index.ts:624–627  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

622 }
623
624 public get baseName(): string {
625 const locale = getInternalSlots(this).locale
626 return emitUnicodeLanguageId(parseUnicodeLanguageId(locale))
627 }
628
629 public get calendar(): string | undefined {
630 return getInternalSlots(this).calendar

Callers

nothing calls this directly

Calls 3

emitUnicodeLanguageIdFunction · 0.90
parseUnicodeLanguageIdFunction · 0.90
getInternalSlotsFunction · 0.70

Tested by

no test coverage detected