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

Function assertLContainer

packages/core/src/render3/assert.ts:104–107  ·  view source on GitHub ↗
(value: any)

Source from the content-addressed store, hash-verified

102}
103
104export function assertLContainer(value: any): asserts value is LContainer {
105 assertDefined(value, 'LContainer must be defined');
106 assertEqual(isLContainer(value), true, 'Expecting LContainer');
107}
108
109export function assertLViewOrUndefined(value: any): asserts value is LView | null | undefined {
110 value && assertEqual(isLView(value), true, 'Expecting LView or undefined or null');

Callers 12

destroyViewTreeFunction · 0.90
detachMovedViewFunction · 0.90
applyContainerFunction · 0.90
collectQueryResultsFunction · 0.90
insertViewFunction · 0.90
trackMovedViewFunction · 0.90
getLContainerFunction · 0.90
insertFallbackContentFunction · 0.90
renderPlaceholderFunction · 0.90
getTriggerLViewFunction · 0.90
triggerDeferBlockFunction · 0.90

Calls 3

assertDefinedFunction · 0.90
assertEqualFunction · 0.90
isLContainerFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…