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

Function formatSpeed

packages/player/src/controls.ts:34–36  ·  view source on GitHub ↗
(speed: number)

Source from the content-addressed store, hash-verified

32}
33
34export function formatSpeed(speed: number): string {
35 return Number.isInteger(speed) ? `${speed}x` : `${speed}x`;
36}
37
38export function formatTime(seconds: number): string {
39 // Handle non-finite values gracefully

Callers 3

createControlsFunction · 0.85
updateSpeedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected