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

Function compareTypesAssignable

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

Source from the content-addressed store, hash-verified

63831 return isTypeRelatedTo(source, target, identityRelation) ? -1 /* Ternary.True */ : 0 /* Ternary.False */;
63832 }
63833 function compareTypesAssignable(source, target) {
63834 return isTypeRelatedTo(source, target, assignableRelation) ? -1 /* Ternary.True */ : 0 /* Ternary.False */;
63835 }
63836 function compareTypesSubtypeOf(source, target) {
63837 return isTypeRelatedTo(source, target, subtypeRelation) ? -1 /* Ternary.True */ : 0 /* Ternary.False */;
63838 }

Callers

nothing calls this directly

Calls 1

isTypeRelatedToFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…