MCPcopy Index your code
hub / github.com/TanStack/table / makeDataLevel

Function makeDataLevel

examples/solid/bootstrap/src/makeData.ts:36–41  ·  view source on GitHub ↗
(depth = 0)

Source from the content-addressed store, hash-verified

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 1

makeDataFunction · 0.70

Calls 2

rangeFunction · 0.70
newPersonFunction · 0.70

Tested by

no test coverage detected