MCPcopy Create free account
hub / github.com/thetarnav/solid-devtools / removeIndex

Function removeIndex

examples/sandbox/src/Todos.tsx:17–19  ·  view source on GitHub ↗
(array: readonly T[], index: number)

Source from the content-addressed store, hash-verified

15}
16
17export function removeIndex<T>(array: readonly T[], index: number): T[] {
18 return [...array.slice(0, index), ...array.slice(index + 1)]
19}
20
21type TodoItem = {title: string; done: boolean}
22

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…