MCPcopy Index your code
hub / github.com/angular/angular / isAnyMatching

Function isAnyMatching

packages/core/test/render3/node_selector_matcher_spec.ts:502–508  ·  view source on GitHub ↗
(
      tagName: string,
      attrs: string[] | null,
      selector: CssSelectorList,
    )

Source from the content-addressed store, hash-verified

500
501 describe('isNodeMatchingSelectorList', () => {
502 function isAnyMatching(
503 tagName: string,
504 attrs: string[] | null,
505 selector: CssSelectorList,
506 ): boolean {
507 return isNodeMatchingSelectorList(testLStaticData(tagName, attrs), selector, false);
508 }
509
510 it('should match when there is only one simple selector without negations', () => {
511 expect(isAnyMatching('span', null, [['span']])).toBeTruthy(

Callers 1

Calls 2

testLStaticDataFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…