MCPcopy Index your code
hub / github.com/callstack/agent-device / isCommandName

Function isCommandName

src/commands/command-metadata.ts:33–35  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

31}
32
33export function isCommandName(name: string): name is CommandName {
34 return commandMetadataMap.has(name as CommandName);
35}
36
37export function findCommandMetadata(name: string): AnyCommandMetadata | undefined {
38 return commandMetadataMap.get(name as CommandName);

Callers 2

readLegacyCommandFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…