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

Function assertFirstCreatePass

packages/core/src/render3/assert.ts:118–124  ·  view source on GitHub ↗
(tView: TView, errMessage?: string)

Source from the content-addressed store, hash-verified

116}
117
118export function assertFirstCreatePass(tView: TView, errMessage?: string) {
119 assertEqual(
120 tView.firstCreatePass,
121 true,
122 errMessage || 'Should only be called in first create pass.',
123 );
124}
125
126export function assertFirstUpdatePass(tView: TView, errMessage?: string) {
127 assertEqual(

Callers 15

registerPreOrderHooksFunction · 0.90
registerPostOrderHooksFunction · 0.90
elementStartMethod · 0.90
templateMethod · 0.90
domOnlyFirstCreatePassFunction · 0.90
allocExpandoFunction · 0.90
resolveDirectivesFunction · 0.90
markAsComponentHostFunction · 0.90
initializeDirectivesFunction · 0.90

Calls 1

assertEqualFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…