Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rambda/immutable.d.ts>insertAll

Faster and smaller alternative to Ramda
Latest
function insertAll
import { insertAll } from "https://deno.land/x/rambda@9.4.1/immutable.d.ts";

Parameters

index: number

Returns

<T>(itemsToInsert: readonly T[], list: readonly T[]) => readonly T[]

Parameters

index: number
itemsToInsert: readonly T[]

Returns

(list: readonly T[]) => readonly T[]

Parameters

index: number
itemsToInsert: readonly T[]
list: readonly T[]

Returns

readonly T[]