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

Function checkTypeComparableTo

test/fixtures/snapshot/typescript.js:64324–64326  ·  view source on GitHub ↗

* This is *not* a bi-directional relationship. * If one needs to check both directions for comparability, use a second call to this function or 'isTypeComparableTo'.

(source, target, errorNode, headMessage, containingMessageChain)

Source from the content-addressed store, hash-verified

64322 * If one needs to check both directions for comparability, use a second call to this function or 'isTypeComparableTo'.
64323 */
64324 function checkTypeComparableTo(source, target, errorNode, headMessage, containingMessageChain) {
64325 return checkTypeRelatedTo(source, target, comparableRelation, errorNode, headMessage, containingMessageChain);
64326 }
64327 function isSignatureAssignableTo(source, target, ignoreReturnTypes) {
64328 return compareSignaturesRelated(source, target, ignoreReturnTypes ? 4 /* SignatureCheckMode.IgnoreReturnTypes */ : 0, /*reportErrors*/ false,
64329 /*errorReporter*/ undefined, /*errorReporter*/ undefined, compareTypesAssignable, /*reportUnreliableMarkers*/ undefined) !== 0 /* Ternary.False */;

Callers 2

checkAssertionWorkerFunction · 0.85

Calls 1

checkTypeRelatedToFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…