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

Function getApplicableIndexInfo

test/fixtures/snapshot/typescript.js:59505–59507  ·  view source on GitHub ↗
(type, keyType)

Source from the content-addressed store, hash-verified

59503 return getIndexInfosOfType(type).filter(function (info) { return isApplicableIndexType(keyType, info.keyType); });
59504 }
59505 function getApplicableIndexInfo(type, keyType) {
59506 return findApplicableIndexInfo(getIndexInfosOfType(type), keyType);
59507 }
59508 function getApplicableIndexInfoForName(type, name) {
59509 return getApplicableIndexInfo(type, isLateBoundName(name) ? esSymbolType : getStringLiteralType(ts.unescapeLeadingUnderscores(name)));
59510 }

Callers 5

elaborateElementwiseFunction · 0.85
typeRelatedToIndexInfoFunction · 0.85
inferFromIndexTypesFunction · 0.85

Calls 2

findApplicableIndexInfoFunction · 0.85
getIndexInfosOfTypeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…