MCPcopy
hub / github.com/angular/angular / isElement

Function isElement

packages/elements/src/utils.ts:35–37  ·  view source on GitHub ↗
(node: Node | null)

Source from the content-addressed store, hash-verified

33 * Check whether the input is an `Element`.
34 */
35export function isElement(node: Node | null): node is Element {
36 return !!node && node.nodeType === Node.ELEMENT_NODE;
37}
38
39/**
40 * Check whether the input is a function.

Callers 2

utils_spec.tsFile · 0.90
findMatchingIndexFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…