CodeQL library for JavaScript
Search

Member predicate Module::exports

DEPRECATED. Use getAnExportedValue instead.

Holds if this module explicitly exports symbol name at the program element export.

Note that in some module systems (notably CommonJS and AMD) modules are arbitrary objects that export all their properties. This predicate only considers properties that are explicitly defined on the module object.

Symbols defined in another module that are re-exported by this module are only sometimes considered.

predicate exports(string name, ASTNode export)