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

Function everyType

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

Source from the content-addressed store, hash-verified

69879 return type.flags & 1048576 /* TypeFlags.Union */ ? ts.some(type.types, f) : f(type);
69880 }
69881 function everyType(type, f) {
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 }

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…