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

Function stringArrayField

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

Source from the content-addressed store, hash-verified

188}
189
190export function stringArrayField(description?: string): CommandField<string[]> {
191 return optionalField(stringArraySchema(description), optionalStringArray);
192}
193
194export function jsonSchemaField<T>(schema: JsonSchema): CommandField<T> {
195 return optionalField(schema, (record, key) => record[key] as T | undefined);

Callers 2

index.tsFile · 0.90
app.tsFile · 0.90

Calls 2

optionalFieldFunction · 0.85
stringArraySchemaFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…