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

Function isNameMatch

test/fixtures/snapshot/typescript.js:136488–136491  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

136486 }
136487 }
136488 function isNameMatch(name) {
136489 // Use name of "default" even in `export =` case because we may have allowSyntheticDefaultImports
136490 return name === exportSymbol.escapedName || exportKind !== 0 /* ExportKind.Named */ && name === "default" /* InternalSymbolName.Default */;
136491 }
136492 }
136493 /** Returns 'true' is the namespace 'name' is re-exported from this module, and 'false' if it is only used locally. */
136494 function findNamespaceReExports(sourceFileLike, name, checker) {

Callers 2

searchForNamedImportFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected