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

Function getTypeId

test/fixtures/snapshot/typescript.js:61111–61113  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

61109 return addOptionality(getTypeFromTypeNode(node.type), /*isProperty*/ true);
61110 }
61111 function getTypeId(type) {
61112 return type.id;
61113 }
61114 function containsType(types, type) {
61115 return ts.binarySearch(types, type, getTypeId, ts.compareValues) >= 0;
61116 }

Callers 12

visitAndTransformTypeFunction · 0.85
typeParameterToNameFunction · 0.85
getSubstitutionTypeFunction · 0.85
getVariancesWorkerFunction · 0.85
createMarkerTypeFunction · 0.85
isMarkerTypeFunction · 0.85
getFlowCacheKeyFunction · 0.85
_loop_23Function · 0.85
_loop_27Function · 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…