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

x/rambda/mod.ts>lensIndex

Faster and smaller alternative to Ramda
Go to Latest
function lensIndex
import { lensIndex } from "https://deno.land/x/rambda@9.2.1/mod.ts";

It returns a lens that focuses on specified index.

Parameters

n: number

Type Parameters

A extends any[]
N extends number