MCPcopy Index your code
hub / github.com/rrweb-io/rrweb / isSerializedIframe

Function isSerializedIframe

packages/rrweb/src/utils.ts:355–360  ·  view source on GitHub ↗
(
  n: TNode,
  mirror: IMirror<TNode>,
)

Source from the content-addressed store, hash-verified

353};
354
355export function isSerializedIframe<TNode extends Node | RRNode>(
356 n: TNode,
357 mirror: IMirror<TNode>,
358): boolean {
359 return Boolean(n.nodeName === 'IFRAME' && mirror.getMeta(n));
360}
361
362export function isSerializedStylesheet<TNode extends Node | RRNode>(
363 n: TNode,

Callers 4

recordFunction · 0.90
pushAddMethod · 0.90
appendNodeMethod · 0.90

Calls 1

getMetaMethod · 0.65

Tested by

no test coverage detected