(input: string)
| 1293 | } |
| 1294 | |
| 1295 | const splitStep = (input: string): [string, number | undefined] => { |
| 1296 | const separator = input.indexOf("/") |
| 1297 | if (separator !== -1) { |
| 1298 | const step = input.slice(separator + 1) |
| 1299 | return [input.slice(0, separator), decimalRegex.test(step) ? Number(step) : NaN] |
| 1300 | } |
| 1301 | |
| 1302 | return [input, undefined] |
| 1303 | } |
| 1304 | |
| 1305 | const splitRange = (input: string, aliases?: Record<string, number>): [number, number | undefined] => { |
| 1306 | const separator = input.indexOf("-") |
no test coverage detected