MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / isSlashCommand

Function isSlashCommand

source code/utils/messageQueueManager.ts:543–549  ·  view source on GitHub ↗
(cmd: QueuedCommand)

Source from the content-addressed store, hash-verified

541 * as slash commands — their text is meant for the model.
542 */
543export function isSlashCommand(cmd: QueuedCommand): boolean {
544 return (
545 typeof cmd.value === 'string' &&
546 cmd.value.trim().startsWith('/') &&
547 !cmd.skipSlashCommands
548 )
549}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected