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

Function booleanField

src/commands/command-input.ts:173–175  ·  view source on GitHub ↗
(description?: string)

Source from the content-addressed store, hash-verified

171}
172
173export function booleanField(description?: string): CommandField<boolean> {
174 return optionalField(booleanSchema(description), optionalBoolean);
175}
176
177export function enumField<const TValues extends readonly string[]>(
178 values: TValues,

Callers 14

index.tsFile · 0.90
diff.tsFile · 0.90
wait.tsFile · 0.90
screenshot.tsFile · 0.90
snapshot.tsFile · 0.90
index.tsFile · 0.90
index.tsFile · 0.90
index.tsFile · 0.90
install.tsFile · 0.90
device.tsFile · 0.90
app.tsFile · 0.90
metadata.tsFile · 0.90

Calls 2

optionalFieldFunction · 0.85
booleanSchemaFunction · 0.85

Tested by

no test coverage detected