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

Function getNoOffsetIndex

packages/core/src/hydration/node_lookup_utils.ts:47–49  ·  view source on GitHub ↗

Returns an instruction index (subtracting HEADER_OFFSET).

(tNode: TNode)

Source from the content-addressed store, hash-verified

45
46/** Returns an instruction index (subtracting HEADER_OFFSET). */
47function getNoOffsetIndex(tNode: TNode): number {
48 return tNode.index - HEADER_OFFSET;
49}
50
51/**
52 * Check whether a given node exists, but is disconnected from the DOM.

Callers 1

locateNextRNodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…