Skip to main content
Module

x/ramda/mod.ts>lens

:ram: Practical functional Javascript
Latest
variable lens
import { lens } from "https://deno.land/x/ramda@v0.27.2/mod.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.