Skip to main content
Module

x/rambda/immutable.d.ts>lensIndex

Faster and smaller alternative to Ramda
Latest
function lensIndex
import { lensIndex } from "https://deno.land/x/rambda@v9.2.0/immutable.d.ts";

It returns a lens that focuses on specified index.

Parameters

n: number

Returns

Lens<readonly A[], A>

Type Parameters

A extends readonly any[]
N extends number