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

Function hasValueSideModule

test/fixtures/snapshot/typescript.js:130455–130459  ·  view source on GitHub ↗

Returns true if there exists a module that introduces entities on the value side.

(symbol)

Source from the content-addressed store, hash-verified

130453 }
130454 /** Returns true if there exists a module that introduces entities on the value side. */
130455 function hasValueSideModule(symbol) {
130456 return ts.some(symbol.declarations, function (declaration) {
130457 return ts.isModuleDeclaration(declaration) && ts.getModuleInstanceState(declaration) === 1 /* ModuleInstanceState.Instantiated */;
130458 });
130459 }
130460 function getClassificationTypeName(type) {
130461 switch (type) {
130462 case 1 /* ClassificationType.comment */: return "comment" /* ClassificationTypeNames.comment */;

Callers 1

classifySymbolFunction · 0.85

Calls 1

someMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…