MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / escapeHfId

Function escapeHfId

packages/sdk/src/engine/model.ts:40–42  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

38}
39
40export function escapeHfId(id: string): string {
41 return id.replace(/\\/g, "\\\\").replace(/"/g, '\\"');
42}
43
44/**
45 * True when an element lives at the top-level (canonical) scope — i.e. its

Callers 2

resolveScopedFunction · 0.85
gsapTargetSelectorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected