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

Function setTStylingRangeNext

packages/core/src/render3/interfaces/styling.ts:196–201  ·  view source on GitHub ↗
(tStylingRange: TStylingRange, next: number)

Source from the content-addressed store, hash-verified

194}
195
196export function setTStylingRangeNext(tStylingRange: TStylingRange, next: number): TStylingRange {
197 ngDevMode && assertNumber(tStylingRange, 'expected number');
198 ngDevMode && assertNumberInRange(next, 0, StylingRange.UNSIGNED_MASK);
199 return ((tStylingRange & ~StylingRange.NEXT_MASK) | //
200 (next << StylingRange.NEXT_SHIFT)) as TStylingRange;
201}
202
203export function getTStylingRangeNextDuplicate(tStylingRange: TStylingRange): boolean {
204 ngDevMode && assertNumber(tStylingRange, 'expected number');

Callers 2

styling_spec.tsFile · 0.90
insertTStylingBindingFunction · 0.90

Calls 2

assertNumberFunction · 0.90
assertNumberInRangeFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…