MCPcopy
hub / github.com/prisma/prisma / skipIndex

Function skipIndex

packages/internals/src/get-generators/getGenerators.ts:338–340  ·  view source on GitHub ↗
(arr: T[], index: number)

Source from the content-addressed store, hash-verified

336}
337
338export function skipIndex<T = any>(arr: T[], index: number): T[] {
339 return [...arr.slice(0, index), ...arr.slice(index + 1)]
340}
341
342export const knownBinaryTargets: BinaryTarget[] = [...binaryTargets, 'native']
343

Callers 1

getGeneratorsFunction · 0.85

Calls 1

sliceMethod · 0.45

Tested by

no test coverage detected