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

Function assertFirstUpdatePass

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

Source from the content-addressed store, hash-verified

124}
125
126export function assertFirstUpdatePass(tView: TView, errMessage?: string) {
127 assertEqual(
128 tView.firstUpdatePass,
129 true,
130 errMessage || 'Should only be called in first update pass.',
131 );
132}
133
134/**
135 * This is a basic sanity check that an object is probably a directive def. DirectiveDef is

Callers 3

allocExpandoFunction · 0.90
stylingFirstUpdatePassFunction · 0.90
insertTStylingBindingFunction · 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…