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

Function uniqueSortedTimes

packages/cli/src/utils/layoutAudit.ts:236–239  ·  view source on GitHub ↗
(times: number[])

Source from the content-addressed store, hash-verified

234}
235
236function uniqueSortedTimes(times: number[]): number[] {
237 const rounded = times.map(roundTime);
238 return [...new Set(rounded)].sort((a, b) => a - b);
239}
240
241export interface TransitionSampleOptions {
242 duration: number;

Callers 3

buildLayoutSampleTimesFunction · 0.85
mergeSampleTimesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected