MCPcopy Index your code
hub / github.com/ampproject/amphtml / isAmphtml

Function isAmphtml

src/core/document/format.js:25–27  ·  view source on GitHub ↗
(doc)

Source from the content-addressed store, hash-verified

23 * @return {boolean}
24 */
25export function isAmphtml(doc) {
26 return isAmpFormatType(['⚡', 'amp'], doc);
27}

Callers 2

Calls 1

isAmpFormatTypeFunction · 0.85

Tested by

no test coverage detected