MCPcopy Index your code
hub / github.com/liuup/claude-code-analysis / hasCommand

Function hasCommand

src/commands.ts:700–702  ·  view source on GitHub ↗
(commandName: string, commands: Command[])

Source from the content-addressed store, hash-verified

698}
699
700export function hasCommand(commandName: string, commands: Command[]): boolean {
701 return findCommand(commandName, commands) !== undefined
702}
703
704export function getCommand(commandName: string, commands: Command[]): Command {
705 const command = findCommand(commandName, commands)

Callers

nothing calls this directly

Calls 1

findCommandFunction · 0.85

Tested by

no test coverage detected