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

Function isElement

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

Source from the content-addressed store, hash-verified

34
35/** Checks if a value is an element. */
36export function isElement(value: any): value is Element {
37 return value && (value as Element).nodeType === 1;
38}
39
40/**
41 * Reference to an overlay that has been created with the Overlay service.

Callers 3

createOverlayRefFunction · 0.90
_attachHostMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected