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

Function hasInput

src/core/context/values.js:677–679  ·  view source on GitHub ↗

* See `Values.has()` method. * * @param {ContextNode} contextNode * @param {IContextProp<?, ?>} prop * @return {boolean}

(contextNode, prop)

Source from the content-addressed store, hash-verified

675 * @return {boolean}
676 */
677function hasInput(contextNode, prop) {
678 return contextNode.values.has(prop);
679}
680
681/**
682 * Whether the property is recursive.

Callers

nothing calls this directly

Calls 1

hasMethod · 0.45

Tested by

no test coverage detected