MCPcopy Index your code
hub / github.com/angular/components / isNodeElement

Function isNodeElement

src/cdk/tree/tree.ts:1512–1515  ·  view source on GitHub ↗
(element: HTMLElement)

Source from the content-addressed store, hash-verified

1510}
1511
1512function isNodeElement(element: HTMLElement) {
1513 const classList = element.classList;
1514 return !!(classList?.contains('cdk-nested-tree-node') || classList?.contains('cdk-tree'));
1515}

Callers 1

getParentNodeAriaLevelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…