Skip to main content
Module

x/ramda/source/index.js>insert

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

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.