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

Function readLView

packages/core/src/render3/context_discovery.ts:179–185  ·  view source on GitHub ↗
(target: any)

Source from the content-addressed store, hash-verified

177 * a component, directive or a DOM node).
178 */
179export function readLView(target: any): LView | null {
180 const data = readPatchedData(target);
181 if (isLView(data)) {
182 return data;
183 }
184 return data ? data.lView : null;
185}
186
187/**
188 * Assigns the given data to the given target (which could be a component,

Callers

nothing calls this directly

Calls 2

isLViewFunction · 0.90
readPatchedDataFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…