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

Function mutate_remove

packages/shared/src/utils.ts:203–206  ·  view source on GitHub ↗
(array: T[], item: T)

Source from the content-addressed store, hash-verified

201}
202
203export function mutate_remove<T>(array: T[], item: T): void {
204 const index = array.indexOf(item)
205 if (index !== -1) array.splice(index, 1)
206}

Callers 2

listenFunction · 0.90
listenFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…