Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
*/
25
export
function
isAmphtml(doc) {
26
return
isAmpFormatType([
'⚡'
,
'amp'
], doc);
27
}
Callers
2
installAutoLightboxExtension
Function · 0.90
installStandaloneExtension
Function · 0.90
Calls
1
isAmpFormatType
Function · 0.85
Tested by
no test coverage detected