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

Function assertFirstUpdatePass

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

Source from the content-addressed store, hash-verified

110}
111
112export function assertFirstUpdatePass(tView: TView, errMessage?: string) {
113 assertEqual(
114 tView.firstUpdatePass,
115 true,
116 errMessage || 'Should only be called in first update pass.',
117 );
118}
119
120/**
121 * 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