MCPcopy Create free account
hub / github.com/formatjs/formatjs / packedCollation

Function packedCollation

packages/intl-collator/compare.ts:245–255  ·  view source on GitHub ↗
(
  locale: string,
  collation: string
)

Source from the content-addressed store, hash-verified

243}
244
245function packedCollation(
246 locale: string,
247 collation: string
248): PackedLDMLCollation | undefined {
249 return (
250 collationTailorings as Record<
251 string,
252 Record<string, PackedLDMLCollation> | undefined
253 >
254 )[locale]?.[collation]
255}
256
257function importedTailorings(
258 rule: PackedLDMLRule,

Callers 1

tailoringEntriesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected