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

Function assertCurrentTNodeIsParent

packages/core/src/render3/assert.ts:95–97  ·  view source on GitHub ↗
(isParent: boolean)

Source from the content-addressed store, hash-verified

93}
94
95export function assertCurrentTNodeIsParent(isParent: boolean) {
96 assertEqual(isParent, true, 'currentTNode should be a parent');
97}
98
99export function assertHasParent(tNode: TNode | null) {
100 assertDefined(tNode, 'currentTNode should exist!');

Callers

nothing calls this directly

Calls 1

assertEqualFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…