(str: string)
| 6 | const indexPattern = /^[1-9][0-9]*$/ |
| 7 | |
| 8 | export function isIndexArgument(str: string): boolean { |
| 9 | return !!str.match(indexPattern) |
| 10 | } |
| 11 | |
| 12 | export function itemName(command: Naming): string { |
| 13 | return command.itemName ?? 'item' |
no outgoing calls
no test coverage detected