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

Method hasCapability

src/service/viewer-interface.js:32–32  ·  view source on GitHub ↗

* Viewers can communicate their "capabilities" and this method allows * checking them. * @param {string} name Of the capability. * @return {boolean}

(name)

Source from the content-addressed store, hash-verified

30 * @return {boolean}
31 */
32 hasCapability(name) {}
33
34 /**
35 * Whether the document is embedded in a viewer.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected