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

Function elementTargetField

src/commands/command-input.ts:211–215  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

209}
210
211export function elementTargetField(): CommandField<ElementTargetInput> {
212 return optionalField(elementTargetSchema(), (record, key) =>
213 record[key] === undefined ? undefined : readElementTarget(record, key),
214 );
215}
216
217export function pointField(description: string): CommandField<PointInput> {
218 return optionalField(pointSchema(description), (record, key) =>

Callers 1

metadata.tsFile · 0.90

Calls 3

optionalFieldFunction · 0.85
elementTargetSchemaFunction · 0.85
readElementTargetFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…