MCPcopy Create free account
hub / github.com/callstack/agent-device / extractReadText

Function extractReadText

src/platforms/linux/snapshot.ts:68–73  ·  view source on GitHub ↗
(node: RawSnapshotNode)

Source from the content-addressed store, hash-verified

66}
67
68function extractReadText(node: RawSnapshotNode): string {
69 for (const value of [node.value, node.label, node.identifier]) {
70 if (typeof value === 'string' && value.length > 0) return value;
71 }
72 return '';
73}

Callers 1

readLinuxTextAtPointFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…