MCPcopy Index your code
hub / github.com/nodejs/node / containsMatchingReference

Function containsMatchingReference

test/fixtures/snapshot/typescript.js:69397–69405  ·  view source on GitHub ↗
(source, target)

Source from the content-addressed store, hash-verified

69395 return undefined;
69396 }
69397 function containsMatchingReference(source, target) {
69398 while (ts.isAccessExpression(source)) {
69399 source = source.expression;
69400 if (isMatchingReference(source, target)) {
69401 return true;
69402 }
69403 }
69404 return false;
69405 }
69406 function optionalChainContainsReference(source, target) {
69407 while (ts.isOptionalChain(source)) {
69408 source = source.expression;

Callers 2

getTypeAtFlowAssignmentFunction · 0.85

Calls 1

isMatchingReferenceFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…