(commandName: string, commands: Command[])
| 709 | } |
| 710 | |
| 711 | export function hasCommand(commandName: string, commands: Command[]): boolean { |
| 712 | return findCommand(commandName, commands) !== undefined |
| 713 | } |
| 714 | |
| 715 | export function getCommand(commandName: string, commands: Command[]): Command { |
| 716 | const command = findCommand(commandName, commands) |
nothing calls this directly
no test coverage detected