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

Function hasShadowRoot

packages/private/testing/matchers/index.ts:229–231  ·  view source on GitHub ↗
(node: any)

Source from the content-addressed store, hash-verified

227}
228
229function hasShadowRoot(node: any): boolean {
230 return node.shadowRoot != null && node instanceof HTMLElement;
231}

Callers 1

elementTextFunction · 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…