(tNode: TNode, lView: LView)
| 52 | * Check whether a given node exists, but is disconnected from the DOM. |
| 53 | */ |
| 54 | export 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. |
no test coverage detected
searching dependent graphs…