(raw: string)
| 225 | } |
| 226 | |
| 227 | function parseSince(raw: string): number | undefined { |
| 228 | const n = Number.parseInt(raw, 10); |
| 229 | if (!Number.isFinite(n) || n < 0) return undefined; |
| 230 | return n; |
| 231 | } |
| 232 | |
| 233 | function cleanToken(raw: string | null, max: number): string | undefined { |
| 234 | if (raw === null) return undefined; |
no outgoing calls
no test coverage detected