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

x/rambda/index.d.ts>lensProp

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

It returns a lens that focuses on specified property prop.

Type Parameters

S
optional
K extends keyof S = keyof S