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

Function attrMatches

src/preact/parse-props.js:365–365  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

363 * @return {boolean}
364 */
365 const attrMatches = (name) => name?.startsWith(prefix) && name !== prefix;
366
367 /**
368 * @param {Element} element

Callers 1

parseAttrsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected