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

Function isInstantiatedModule

test/fixtures/snapshot/typescript.js:48226–48230  ·  view source on GitHub ↗
(node, preserveConstEnums)

Source from the content-addressed store, hash-verified

48224 }
48225 ts.getSymbolId = getSymbolId;
48226 function isInstantiatedModule(node, preserveConstEnums) {
48227 var moduleState = ts.getModuleInstanceState(node);
48228 return moduleState === 1 /* ModuleInstanceState.Instantiated */ ||
48229 (preserveConstEnums && moduleState === 2 /* ModuleInstanceState.ConstEnumOnly */);
48230 }
48231 ts.isInstantiatedModule = isInstantiatedModule;
48232 function createTypeChecker(host) {
48233 var getPackagesMap = ts.memoize(function () {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…