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

Function isAmpScriptUri

src/url.js:398–400  ·  view source on GitHub ↗
(uri)

Source from the content-addressed store, hash-verified

396 * @return {boolean}
397 */
398export function isAmpScriptUri(uri) {
399 return uri.startsWith('amp-script:');
400}
401
402/**
403 * For proxy-origin URLs, returns the serving type. Otherwise, returns null.

Callers 6

sendMethod · 0.90
sendRtcCallout_Method · 0.90
fetchList_Method · 0.90
generateRequestMethod · 0.90
initMethod · 0.90
getFetchJsonCallbackMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected