MCPcopy Create free account
hub / github.com/ampproject/amphtml / isAmpDomain

Method isAmpDomain

validator/js/engine/htmlparser-interface.js:373–375  ·  view source on GitHub ↗

* Tests if this tag is a script with a src of an AMP domain. * @return {boolean}

()

Source from the content-addressed store, hash-verified

371 * @return {boolean}
372 */
373 isAmpDomain() {
374 return this.scriptTag_.isAmpDomain;
375 }
376 /**
377 * Tests if this is the AMP runtime script tag.
378 * @return {boolean}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected