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

Function buildScrollContainerScope

src/utils/scroll-edge-state.ts:259–263  ·  view source on GitHub ↗
(node: SnapshotNode)

Source from the content-addressed store, hash-verified

257}
258
259function buildScrollContainerScope(node: SnapshotNode): string | undefined {
260 return [node.identifier, node.label, node.value]
261 .map((value) => (typeof value === 'string' ? value.trim() : ''))
262 .find(isUsefulScope);
263}
264
265function isUsefulScope(value: string): boolean {
266 return (

Callers 1

analyzeScrollEdgeStateFunction · 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…