(value, fallback)
| 2840 | } |
| 2841 | |
| 2842 | function parsePositiveInt(value, fallback) { |
| 2843 | return parseOptionalPositiveInt(value) ?? fallback; |
| 2844 | } |
| 2845 | |
| 2846 | function parseOptionalPositiveInt(value) { |
| 2847 | if (!value) return undefined; |
no test coverage detected