(codePoint: number)
| 77 | } |
| 78 | |
| 79 | function fallbackElement(codePoint: number): PackedCollationElement { |
| 80 | // UCA requires an order for code points not in the explicit root table; this |
| 81 | // compact fallback gives unassigned/unknown code points deterministic primary |
| 82 | // weights until full implicit weighting is implemented. |
| 83 | // https://www.unicode.org/reports/tr10/#Implicit_Weights |
| 84 | return [0xff0000 + codePoint, 0, 0, 0, 0] |
| 85 | } |
| 86 | |
| 87 | type TailoringEntry = { |
| 88 | readonly codePoints: readonly number[] |
no outgoing calls
no test coverage detected