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

Function pointField

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

Source from the content-addressed store, hash-verified

215}
216
217export function pointField(description: string): CommandField<PointInput> {
218 return optionalField(pointSchema(description), (record, key) =>
219 record[key] === undefined ? undefined : readPoint(record, key),
220 );
221}
222
223export function selectorSnapshotFields() {
224 return {

Callers 1

metadata.tsFile · 0.90

Calls 3

optionalFieldFunction · 0.85
pointSchemaFunction · 0.85
readPointFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…