(input: string)
| 860 | } |
| 861 | |
| 862 | const splitStep = (input: string): [string, number | undefined] => { |
| 863 | const seperator = input.indexOf("/") |
| 864 | if (seperator !== -1) { |
| 865 | const step = input.slice(seperator + 1) |
| 866 | return [input.slice(0, seperator), decimalRegex.test(step) ? Number(step) : NaN] |
| 867 | } |
| 868 | |
| 869 | return [input, undefined] |
| 870 | } |
| 871 | |
| 872 | const splitRange = (input: string, aliases?: Record<string, number>): [number, number | undefined] => { |
| 873 | const seperator = input.indexOf("-") |
no test coverage detected