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

Function eachIsUnionContaining

test/fixtures/snapshot/typescript.js:61529–61531  ·  view source on GitHub ↗
(types, flag)

Source from the content-addressed store, hash-verified

61527 return false;
61528 }
61529 function eachIsUnionContaining(types, flag) {
61530 return ts.every(types, function (t) { return !!(t.flags & 1048576 /* TypeFlags.Union */) && ts.some(t.types, function (tt) { return !!(tt.flags & flag); }); });
61531 }
61532 function removeFromEach(types, flag) {
61533 for (var i = 0; i < types.length; i++) {
61534 types[i] = filterType(types[i], function (t) { return !(t.flags & flag); });

Callers 1

getIntersectionTypeFunction · 0.85

Calls 2

everyMethod · 0.80
someMethod · 0.80

Tested by

no test coverage detected