Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rambda/files/index.d.ts>aperture

Faster and smaller alternative to Ramda
Go to Latest
function aperture
import { aperture } from "https://deno.land/x/rambda@v8.6.0/files/index.d.ts";

Type Parameters

N extends number
T

Parameters

n: N
list: T[]

Returns

Array<Tuple<T, N>> | []

Type Parameters

N extends number

Returns

<T>(list: T[]) => Array<Tuple<T, N>> | []