MCPcopy Index your code
hub / github.com/webpack/webpack / isExportProvided

Method isExportProvided

lib/ModuleGraph.js:735–739  ·  view source on GitHub ↗

* Checks whether this module graph is export provided. * @param {Module} module the module * @param {ExportInfoName | ExportInfoName[]} exportName a name of an export * @returns {boolean | null} true, if the export is provided by the module. * null, if it's unknown. * false, if it's not pr

(module, exportName)

Source from the content-addressed store, hash-verified

733 * false, if it's not provided.
734 */
735 isExportProvided(module, exportName) {
736 const mgm = this._getModuleGraphModule(module);
737 const result = mgm.exports.isExportProvided(exportName);
738 return result === undefined ? null : result;
739 }
740
741 /**
742 * Returns info about the exports.

Callers 6

isProvidedMethod · 0.45
getWarningsMethod · 0.45
getLinkingErrorsMethod · 0.45
getWarningsMethod · 0.45
getPropertyFunction · 0.45
applyMethod · 0.45

Calls 1

_getModuleGraphModuleMethod · 0.95

Tested by

no test coverage detected