Skip to main content
Module

x/fae/mod.ts>aperture

A functional module for Deno inspired from Ramda.
Latest
variable aperture
import { aperture } from "https://deno.land/x/fae@v1.1.1/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 passed in place of list

type

Aperture