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

Method getAttrValueOrNull_

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

* Returns the value of a given attribute name. If it does not exist then * returns null. * @param {string} name * @return {?string} * @private

(name)

Source from the content-addressed store, hash-verified

329 * @private
330 */
331 getAttrValueOrNull_(name) {
332 return this.attrsByKey()[name] || null;
333 }
334 /**
335 * Returns the extension name.
336 * @return {string}

Callers

nothing calls this directly

Calls 1

attrsByKeyMethod · 0.80

Tested by

no test coverage detected