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

Function textContent

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

Source from the content-addressed store, hash-verified

211}
212
213export function textContent(n: Node): string | null {
214 return getUntaintedAccessor('Node', n, 'textContent');
215}
216
217export function contains(n: Node, other: Node): boolean {
218 return getUntaintedMethod('Node', n, 'contains')(other);

Callers

nothing calls this directly

Calls 1

getUntaintedAccessorFunction · 0.85

Tested by

no test coverage detected