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

Function everyContainedType

test/fixtures/snapshot/typescript.js:69884–69886  ·  view source on GitHub ↗
(type, f)

Source from the content-addressed store, hash-verified

69882 return type.flags & 1048576 /* TypeFlags.Union */ ? ts.every(type.types, f) : f(type);
69883 }
69884 function everyContainedType(type, f) {
69885 return type.flags & 3145728 /* TypeFlags.UnionOrIntersection */ ? ts.every(type.types, f) : f(type);
69886 }
69887 function filterType(type, f) {
69888 if (type.flags & 1048576 /* TypeFlags.Union */) {
69889 var types = type.types;

Callers 1

Calls 2

everyMethod · 0.80
fFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…