MCPcopy
hub / github.com/stackblitz/alien-signals / isValidLink

Function isValidLink

src/system.ts:252–261  ·  view source on GitHub ↗
(checkLink: Link, sub: ReactiveNode)

Source from the content-addressed store, hash-verified

250 }
251
252 function isValidLink(checkLink: Link, sub: ReactiveNode): boolean {
253 let link = sub.depsTail;
254 while (link !== undefined) {
255 if (link === checkLink) {
256 return true;
257 }
258 link = link.prevDep;
259 }
260 return false;
261 }
262}

Callers 1

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