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

Function typeHasCallOrConstructSignatures

test/fixtures/snapshot/typescript.js:19710–19712  ·  view source on GitHub ↗
(type, checker)

Source from the content-addressed store, hash-verified

19708 }
19709 ts.getObjectFlags = getObjectFlags;
19710 function typeHasCallOrConstructSignatures(type, checker) {
19711 return checker.getSignaturesOfType(type, 0 /* SignatureKind.Call */).length !== 0 || checker.getSignaturesOfType(type, 1 /* SignatureKind.Construct */).length !== 0;
19712 }
19713 ts.typeHasCallOrConstructSignatures = typeHasCallOrConstructSignatures;
19714 function forSomeAncestorDirectory(directory, callback) {
19715 return !!ts.forEachAncestorDirectory(directory, function (d) { return callback(d) ? true : undefined; });

Callers 3

isRelatedToFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected