(symbol: string)
| 295 | return null; |
| 296 | } |
| 297 | |
| 298 | /** |
| 299 | * Resolve a unit symbol — first by direct table lookup, then by prefix |
| 300 | * parsing. Returns a synthetic `UnitEntry` (dimension + effective scale) |
| 301 | * or `null` for unknown symbols. |
| 302 | */ |
| 303 | function resolveUnit(symbol: string): UnitEntry | null { |
no test coverage detected