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

Function isPartOfTypeQuery

test/fixtures/snapshot/typescript.js:16298–16303  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

16296 }
16297 ts.isInExpressionContext = isInExpressionContext;
16298 function isPartOfTypeQuery(node) {
16299 while (node.kind === 161 /* SyntaxKind.QualifiedName */ || node.kind === 79 /* SyntaxKind.Identifier */) {
16300 node = node.parent;
16301 }
16302 return node.kind === 181 /* SyntaxKind.TypeQuery */;
16303 }
16304 ts.isPartOfTypeQuery = isPartOfTypeQuery;
16305 function isNamespaceReexportDeclaration(node) {
16306 return ts.isNamespaceExport(node) && !!node.parent.moduleSpecifier;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected