MCPcopy Create free account
hub / github.com/triggerdotdev/jsonhero-web / addEllipsis

Function addEllipsis

app/utilities/search.ts:36–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34 };
35
36 const addEllipsis = () => {
37 addSlice(false, "…");
38 };
39
40 const calculateWindow = (): { start: number; end: number } => {
41 if (stringValue.length <= windowSize) {

Callers 1

getStringSlicesFunction · 0.85

Calls 1

addSliceFunction · 0.85

Tested by

no test coverage detected