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

Function someType

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

Source from the content-addressed store, hash-verified

69876 return type.flags & 1048576 /* TypeFlags.Union */ ? ts.forEach(type.types, f) : f(type);
69877 }
69878 function someType(type, f) {
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 }

Calls 2

someMethod · 0.80
fFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…