MCPcopy Create free account
hub / github.com/SAP/ui5-project / getExtension

Method getExtension

lib/graph/ProjectGraph.js:150–152  ·  view source on GitHub ↗

* @public * @param {string} extensionName Name of the extension to retrieve * @returns {@ui5/project/specifications/Extension|undefined} * Extension instance or undefined if the extension is unknown to the graph

(extensionName)

Source from the content-addressed store, hash-verified

148 * Extension instance or undefined if the extension is unknown to the graph
149 */
150 getExtension(extensionName) {
151 return this._extensions.get(extensionName);
152 }
153
154 /**
155 * Get all extensions in the graph

Callers 3

ProjectGraph.jsFile · 0.80
graphFromObject.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected