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

Function assertParentView

packages/core/src/render3/assert.ts:170–175  ·  view source on GitHub ↗
(lView: LView | null, errMessage?: string)

Source from the content-addressed store, hash-verified

168}
169
170export function assertParentView(lView: LView | null, errMessage?: string) {
171 assertDefined(
172 lView,
173 errMessage || "Component views should always have a parent view (component's host view)",
174 );
175}
176
177/**
178 * This is a basic sanity check that the `injectorIndex` seems to point to what looks like a

Callers 2

getFirstNativeNodeFunction · 0.90
collectNativeNodesFunction · 0.90

Calls 1

assertDefinedFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…