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

Function any

test/unit/core/context/test-node-discover.js:1089–1089  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1087
1088 it('should find closest', () => {
1089 const any = () => true;
1090 expect(findParent(sibling1, any)).to.equal(sibling1);
1091 expect(findParent(sibling1, any, null, EXCLUDE_SELF)).to.equal(parent);
1092

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected