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

Function parseNum

packages/core/src/runtime/clipTree.ts:53–57  ·  view source on GitHub ↗
(value: string | null)

Source from the content-addressed store, hash-verified

51}
52
53function parseNum(value: string | null): number | null {
54 if (value == null) return null;
55 const n = Number(value);
56 return Number.isFinite(n) ? n : null;
57}
58
59function durationFromTimeline(
60 el: Element,

Callers 2

durationFromMediaFunction · 0.70
resolveDurationFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected