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

Function getNoOffsetIndex

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

Returns an instruction index (subtracting HEADER_OFFSET).

(tNode: TNode)

Source from the content-addressed store, hash-verified

46
47/** Returns an instruction index (subtracting HEADER_OFFSET). */
48function getNoOffsetIndex(tNode: TNode): number {
49 return tNode.index - HEADER_OFFSET;
50}
51
52/**
53 * 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