(value: string | undefined)
| 391 | } |
| 392 | |
| 393 | function parseFiniteNumber(value: string | undefined): number | undefined { |
| 394 | if (value === undefined) return undefined; |
| 395 | const trimmed = value.trim(); |
| 396 | if (!trimmed) return undefined; |
| 397 | const parsed = Number(trimmed); |
| 398 | return Number.isFinite(parsed) ? parsed : undefined; |
| 399 | } |
| 400 | |
| 401 | function hasNumericConfig(options: ParsedOptions): boolean { |
| 402 | return ( |
no outgoing calls
no test coverage detected