CodeQL library for JavaScript/TypeScript
codeql/javascript-all 0.8.10-dev (changelog, source)

Member predicate NamespaceDeclaration::isInstantiated

Holds if this declaration implies the existence of a concrete namespace object at runtime.

A namespace that is empty or only contains interfaces and type aliases is not instantiated, and thus has no namespace object at runtime and is not associated with a variable.

predicate isInstantiated()