Skip to main content
Module

x/ramda/mod.ts>aperture

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

Returns a new list, composed of n-tuples of consecutive elements. If n is greater than the length of the list, an empty list is returned.

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