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

Function parseAt

packages/cli/src/commands/layout.ts:450–457  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

448}
449
450function parseAt(value: unknown): number[] | undefined {
451 if (!value) return undefined;
452 const times = String(value)
453 .split(",")
454 .map((entry) => parseFloat(entry.trim()))
455 .filter((time) => Number.isFinite(time) && time >= 0);
456 return times.length > 0 ? times : undefined;
457}
458
459export function createInspectCommand(commandName: "inspect" | "layout") {
460 return defineCommand({

Callers 1

runFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected