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

Function isDisconnectedNode

packages/core/src/hydration/node_lookup_utils.ts:54–60  ·  view source on GitHub ↗
(tNode: TNode, lView: LView)

Source from the content-addressed store, hash-verified

52 * Check whether a given node exists, but is disconnected from the DOM.
53 */
54export function isDisconnectedNode(tNode: TNode, lView: LView) {
55 return (
56 !(tNode.type & (TNodeType.Projection | TNodeType.LetDeclaration)) &&
57 !!lView[tNode.index] &&
58 isDisconnectedRNode(unwrapRNode(lView[tNode.index]))
59 );
60}
61
62/**
63 * Check whether the given node exists, but is disconnected from the DOM.

Callers 3

serializeLViewFunction · 0.90
calcPathForNodeFunction · 0.70

Calls 2

unwrapRNodeFunction · 0.90
isDisconnectedRNodeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…