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

Function isImportedDeclaration

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

Source from the content-addressed store, hash-verified

82224 }
82225 }
82226 function isImportedDeclaration(node) {
82227 return node.kind === 267 /* SyntaxKind.ImportClause */ || node.kind === 270 /* SyntaxKind.ImportSpecifier */ || node.kind === 268 /* SyntaxKind.NamespaceImport */;
82228 }
82229 function importClauseFromImported(decl) {
82230 return decl.kind === 267 /* SyntaxKind.ImportClause */ ? decl : decl.kind === 268 /* SyntaxKind.NamespaceImport */ ? decl.parent : decl.parent.parent;
82231 }

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected