Skip to main content
Module

x/ramda/mod.ts>insert

:ram: Practical functional Javascript
Latest
variable insert
import { insert } from "https://deno.land/x/ramda@v0.27.2/mod.ts";

Inserts the supplied element into the list, at the specified index. _Note that

this is not destructive_: it returns a copy of the list with the changes. No lists have been harmed in the application of this function.