Skip to main content
Module

x/ramda/mod.ts>dropLast

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

Returns a list containing all but the last n elements of the given list.

Acts as a transducer if a transformer is given in list position.