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

Function rangeSuffix

packages/cli/src/cloud/parsing.ts:94–99  ·  view source on GitHub ↗
(opts: { min?: number; max?: number })

Source from the content-addressed store, hash-verified

92}
93
94function rangeSuffix(opts: { min?: number; max?: number }): string {
95 if (opts.min !== undefined && opts.max !== undefined) return ` (${opts.min}-${opts.max})`;
96 if (opts.min !== undefined) return ` (>= ${opts.min})`;
97 if (opts.max !== undefined) return ` (<= ${opts.max})`;
98 return "";
99}

Callers 2

parseIntFlagFunction · 0.85
parseNumericFlagFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected