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

Function isUsableTimelineDuration

packages/core/src/runtime/init.ts:583–586  ·  view source on GitHub ↗
(durationSeconds: number | null)

Source from the content-addressed store, hash-verified

581 };
582
583 const isUsableTimelineDuration = (durationSeconds: number | null): durationSeconds is number =>
584 typeof durationSeconds === "number" &&
585 Number.isFinite(durationSeconds) &&
586 durationSeconds > MIN_VALID_TIMELINE_DURATION_SECONDS;
587
588 type TimelineResolution = {
589 timeline: RuntimeTimelineLike | null;

Calls

no outgoing calls

Tested by

no test coverage detected