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

x/rambda/files/index.d.ts>over

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

Returns

{ (fn: (a: A) => A): (value: S) => S; (fn: (a: A) => A, value: S): S; }

Parameters

lens: Lens<S, A>
fn: (a: A) => A

Returns

(value: S) => S

Parameters

lens: Lens<S, A>
fn: (a: A) => A
value: S