MCPcopy
hub / github.com/ampproject/amphtml / getExtensionVersion

Method getExtensionVersion

src/service/ampdoc-impl.js:439–441  ·  view source on GitHub ↗

* @param {string} extensionId * @return {?string}

(extensionId)

Source from the content-addressed store, hash-verified

437 * @return {?string}
438 */
439 getExtensionVersion(extensionId) {
440 return this.declaredExtensions_[extensionId] || null;
441 }
442
443 /**
444 * Signal that the initial document set of extensions is known.

Callers 2

buildCarousel_Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected