(inputValue: InputNumberValue)
| 10 | const DEFAULT_LOCALE = { code: 'en-US', currency: 'USD' }; |
| 11 | |
| 12 | function processInput(inputValue: InputNumberValue): number | null { |
| 13 | if (inputValue == null || Number.isNaN(inputValue)) return null; |
| 14 | return Number(inputValue); |
| 15 | } |
| 16 | |
| 17 | // ---------------------------------------------------------------------- |
| 18 |
no outgoing calls
no test coverage detected