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

Function listCommandMetadataNames

src/commands/command-metadata.ts:29–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27}
28
29export function listCommandMetadataNames(): CommandName[] {
30 return [...commandMetadataMap.keys()].sort();
31}
32
33export function isCommandName(name: string): name is CommandName {
34 return commandMetadataMap.has(name as CommandName);

Calls

no outgoing calls

Tested by

no test coverage detected