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

Function isStructuredBatchStepShape

src/cli/batch-steps.ts:59–61  ·  view source on GitHub ↗
(step: unknown)

Source from the content-addressed store, hash-verified

57}
58
59function isStructuredBatchStepShape(step: unknown): step is Record<string, unknown> & BatchStep {
60 return isRecord(step) && 'input' in step && !('positionals' in step) && !('flags' in step);
61}
62
63function readStructuredBatchStep(
64 step: Record<string, unknown> & BatchStep,

Callers 1

normalizeCliBatchStepsFunction · 0.85

Calls 1

isRecordFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…