MCPcopy Create free account
hub / github.com/nodejs/node / isFunctionLikeButNotConstructor

Function isFunctionLikeButNotConstructor

test/fixtures/snapshot/typescript.js:134759–134761  ·  view source on GitHub ↗
(kind)

Source from the content-addressed store, hash-verified

134757 || !ts.positionsAreOnSameLine(contextToken.end, position, sourceFile));
134758 }
134759 function isFunctionLikeButNotConstructor(kind) {
134760 return ts.isFunctionLikeKind(kind) && kind !== 171 /* SyntaxKind.Constructor */;
134761 }
134762 function isDotOfNumericLiteral(contextToken) {
134763 if (contextToken.kind === 8 /* SyntaxKind.NumericLiteral */) {
134764 var text = contextToken.getFullText();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected