Skip to main content
Module

x/rimbu/deep/mod.ts>Patch.Func

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
type alias Patch.Func
import { type Patch } from "https://deno.land/x/rimbu@0.12.3/deep/mod.ts";
const { Func } = Patch;

A function patch type that is a function taking the current value, the parent and root values, and returns a return value.

definition: (
current: Protected<T>,
parent: Protected<P>,
root: Protected<R>,
) => Protected<S>
definition: (
current: Protected<T>,
parent: Protected<P>,
root: Protected<R>,
) => Protected<S>