MCPcopy Index your code
hub / github.com/simstudioai/sim / cell

Function cell

apps/sim/lib/file-parsers/csv-preview-slice.ts:40–42  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

38}
39
40function cell(value: unknown): string {
41 return truncate(String(value ?? ''), MAX_CELL_LENGTH)
42}
43
44/**
45 * Streams the first {@link CSV_PREVIEW_MAX_ROWS} rows of a CSV/TSV from storage without

Callers

nothing calls this directly

Calls 1

truncateFunction · 0.90

Tested by

no test coverage detected