deno.land / x / rambda@v9.1.1 / source / insertAll.js
12345678import { curry } from './curry';
export function insertAllFn(index, listToInsert, list) { return [...list.slice(0, index), ...listToInsert, ...list.slice(index)];}
export const insertAll = curry(insertAllFn);
Version Info