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

x/rimbu/core/main/exports.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@1.0.3/core/main/exports.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>