()
| 171 | } |
| 172 | |
| 173 | entries() { |
| 174 | const result = [...this.entrySet] |
| 175 | .map((x) => JSON.parse(x) as [CodePoint, EffectiveWidth]); |
| 176 | |
| 177 | return result.sort((a, b) => a[0] - b[0]); |
| 178 | } |
| 179 | |
| 180 | width() { |
| 181 | return new Set(this.widths).size === 1 ? this.widths[0] : null; |
no test coverage detected