Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
*/
89
export
function
checkPropsFor(propDefs, cb) {
90
return
Object.values(propDefs).some(cb);
91
}
92
93
/**
94
* @param {AmpElementProp} def
Callers
2
buildCallback
Method · 0.90
parsePropDefs
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected