MCPcopy
hub / github.com/rrweb-io/rrweb / parentNode

Function parentNode

packages/utils/src/index.ts:205–207  ·  view source on GitHub ↗
(n: Node)

Source from the content-addressed store, hash-verified

203}
204
205export function parentNode(n: Node): ParentNode | null {
206 return getUntaintedAccessor('Node', n, 'parentNode');
207}
208
209export function parentElement(n: Node): HTMLElement | null {
210 return getUntaintedAccessor('Node', n, 'parentElement');

Callers

nothing calls this directly

Calls 1

getUntaintedAccessorFunction · 0.85

Tested by

no test coverage detected