Skip to main content
Module

x/rimbu/mod.ts>Deep.Match.WithResult

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

A type that either directly results in result type S or is a function taking the value, parent, and root values, and returns a value of type S.

definition: S | Match.Func<T, P, R, S>