MCPcopy
hub / github.com/angular/angular / getLViewById

Function getLViewById

packages/core/src/render3/interfaces/lview_tracking.ts:31–34  ·  view source on GitHub ↗
(id: number)

Source from the content-addressed store, hash-verified

29
30/** Gets an LView by its unique ID. */
31export function getLViewById(id: number): LView | null {
32 ngDevMode && assertNumber(id, 'ID used for LView lookup must be a number');
33 return TRACKED_LVIEWS.get(id) || null;
34}
35
36/** Stops tracking an LView. */
37export function unregisterLView(lView: LView): void {

Callers 3

readPatchedDataFunction · 0.90
lViewMethod · 0.90

Calls 2

assertNumberFunction · 0.90
getMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…