MCPcopy Create free account
hub / github.com/callstack/agent-device / formatRange

Function formatRange

src/utils/output.ts:537–541  ·  view source on GitHub ↗
(range: MovementRange)

Source from the content-addressed store, hash-verified

535}
536
537function formatRange(range: MovementRange): string {
538 return range.min === range.max
539 ? formatSignedPixels(range.min)
540 : `${formatSignedPixels(range.min)}..${formatSignedPixels(range.max)}`;
541}
542
543function formatQuotedList(values: string[]): string {
544 const shown = values.slice(0, 4).map((value) => JSON.stringify(value));

Callers 1

Calls 1

formatSignedPixelsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…