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

Function normalizeBatchCommandName

src/batch-policy.ts:53–55  ·  view source on GitHub ↗
(command: unknown)

Source from the content-addressed store, hash-verified

51}
52
53export function normalizeBatchCommandName(command: unknown): string {
54 return typeof command === 'string' ? command.trim().toLowerCase() : '';
55}
56
57export function readStructuredBatchCommandName(
58 command: unknown,

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected