MCPcopy Create free account
hub / github.com/angular/components / isElement

Function isElement

src/cdk/overlay/overlay-ref.ts:38–40  ·  view source on GitHub ↗
(value: any)

Source from the content-addressed store, hash-verified

36
37/** Checks if a value is an element. */
38export function isElement(value: any): value is Element {
39 return value && (value as Element).nodeType === 1;
40}
41
42const attachedOverlaysInternal = signal<readonly OverlayRef[]>([]);
43

Callers 3

createOverlayRefFunction · 0.90
_attachHostMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected