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

Function tupleTypesDefinitelyUnrelated

test/fixtures/snapshot/typescript.js:68301–68304  ·  view source on GitHub ↗
(source, target)

Source from the content-addressed store, hash-verified

68299 return result.value;
68300 }
68301 function tupleTypesDefinitelyUnrelated(source, target) {
68302 return !(target.target.combinedFlags & 8 /* ElementFlags.Variadic */) && target.target.minLength > source.target.minLength ||
68303 !target.target.hasRestElement && (source.target.hasRestElement || target.target.fixedLength < source.target.fixedLength);
68304 }
68305 function typesDefinitelyUnrelated(source, target) {
68306 // Two tuple types with incompatible arities are definitely unrelated.
68307 // Two object types that each have a property that is unmatched in the other are definitely unrelated.

Callers 1

typesDefinitelyUnrelatedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected