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

Function isFunctionType

test/fixtures/snapshot/typescript.js:87061–87063  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

87059 return undefined;
87060 }
87061 function isFunctionType(type) {
87062 return !!(type.flags & 524288 /* TypeFlags.Object */) && getSignaturesOfType(type, 0 /* SignatureKind.Call */).length > 0;
87063 }
87064 function getTypeReferenceSerializationKind(typeNameIn, location) {
87065 var _a, _b;
87066 // ensure both `typeName` and `location` are parse tree nodes.

Calls 1

getSignaturesOfTypeFunction · 0.85

Tested by

no test coverage detected