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

Function readDirectIosSelectorNode

src/daemon/selector-runtime.ts:433–439  ·  view source on GitHub ↗
(data: Record<string, unknown>)

Source from the content-addressed store, hash-verified

431}
432
433function readDirectIosSelectorNode(data: Record<string, unknown>): SnapshotNode | undefined {
434 const nodes = data.nodes;
435 if (!Array.isArray(nodes)) return undefined;
436 const node = nodes[0];
437 if (!node || typeof node !== 'object') return undefined;
438 return node as SnapshotNode;
439}
440
441function parseGetTarget(req: DaemonRequest):
442 | {

Callers 1

queryDirectIosSelectorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected