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