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

Function checkPropsFor

src/preact/parse-props.js:89–91  ·  view source on GitHub ↗
(propDefs, cb)

Source from the content-addressed store, hash-verified

87 * @return {boolean}
88 */
89export function checkPropsFor(propDefs, cb) {
90 return Object.values(propDefs).some(cb);
91}
92
93/**
94 * @param {AmpElementProp} def

Callers 2

buildCallbackMethod · 0.90
parsePropDefsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected