MCPcopy
hub / github.com/TanStack/table / makeData

Function makeData

examples/solid/bootstrap/src/makeData.ts:35–44  ·  view source on GitHub ↗
(...lens: number[])

Source from the content-addressed store, hash-verified

33}
34
35export function makeData(...lens: number[]) {
36 const makeDataLevel = (depth = 0): Person[] => {
37 const len = lens[depth]!
38 return range(len).map((d): Person => {
39 return newPerson()
40 })
41 }
42
43 return makeDataLevel()
44}

Callers 2

AppFunction · 0.90
rerenderFunction · 0.90

Calls 1

makeDataLevelFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…