(commandName: string, commands: Command[])
| 700 | } |
| 701 | |
| 702 | export function hasCommand(commandName: string, commands: Command[]): boolean { |
| 703 | return findCommand(commandName, commands) !== undefined |
| 704 | } |
| 705 | |
| 706 | export function getCommand(commandName: string, commands: Command[]): Command { |
| 707 | const command = findCommand(commandName, commands) |
nothing calls this directly
no test coverage detected