UNPKG

@extra-array/splice

Version:

Removes or replaces existing values.

12 lines (11 loc) 340 B
declare module "@extra-array/splice" { /** * Removes or replaces existing values. * @param x an array * @param i remove index * @param n number of values to remove (rest) * @param vs values to insert */ declare function splice<T>(x: T[], i: number, n?: number, ...vs: T[]): T[]; export = splice; //# sourceMappingURL=splice.d.ts.map}