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

Function stringField

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

Source from the content-addressed store, hash-verified

154}
155
156export function stringField(description?: string): CommandField<string> {
157 return optionalField(stringSchema(description), optionalString);
158}
159
160export function numberField(description?: string): CommandField<number> {
161 return optionalField(numberSchema(description), optionalNumberValue);

Callers 15

index.tsFile · 0.90
index.tsFile · 0.90
index.tsFile · 0.90
diff.tsFile · 0.90
wait.tsFile · 0.90
screenshot.tsFile · 0.90
snapshot.tsFile · 0.90
settings.tsFile · 0.90
index.tsFile · 0.90
index.tsFile · 0.90
index.tsFile · 0.90
index.tsFile · 0.90

Calls 2

optionalFieldFunction · 0.85
stringSchemaFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…