Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/fae/lens.ts>lens

A functional module for Deno inspired from Ramda.
Latest
variable lens
import { lens } from "https://deno.land/x/fae@v1.1.1/lens.ts";

Returns a lens for the given getter and setter functions. The getter "gets" the value of the focus; the setter "sets" the value of the focus. The setter should not mutate the data structure.

type

LensF