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

Function compareTypesSubtypeOf

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

Source from the content-addressed store, hash-verified

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 }
63839 function isTypeSubtypeOf(source, target) {
63840 return isTypeRelatedTo(source, target, subtypeRelation);
63841 }

Callers

nothing calls this directly

Calls 1

isTypeRelatedToFunction · 0.85

Tested by

no test coverage detected