MCPcopy Create free account
hub / github.com/angular/angular / assertFirstCreatePass

Function assertFirstCreatePass

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

Source from the content-addressed store, hash-verified

102}
103
104export function assertFirstCreatePass(tView: TView, errMessage?: string) {
105 assertEqual(
106 tView.firstCreatePass,
107 true,
108 errMessage || 'Should only be called in first create pass.',
109 );
110}
111
112export function assertFirstUpdatePass(tView: TView, errMessage?: string) {
113 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