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

Function getTypeWithFacts

test/fixtures/snapshot/typescript.js:69681–69683  ·  view source on GitHub ↗
(type, include)

Source from the content-addressed store, hash-verified

69679 return oredFacts & 8256 /* TypeFacts.OrFactsMask */ | andedFacts & 16768959 /* TypeFacts.AndFactsMask */;
69680 }
69681 function getTypeWithFacts(type, include) {
69682 return filterType(type, function (t) { return (getTypeFacts(t) & include) !== 0; });
69683 }
69684 function getTypeWithDefault(type, defaultExpression) {
69685 return defaultExpression ?
69686 getUnionType([getNonUndefinedType(type), getTypeOfExpression(defaultExpression)]) :

Calls 2

filterTypeFunction · 0.85
getTypeFactsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…