Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/rimbu/deep/match.ts>Match.WithResult

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
type alias Match.WithResult
import { type Match } from "https://deno.land/x/rimbu@0.14.1/deep/match.ts";
const { WithResult } = 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>