Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

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

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

Defines an object containing exactly one CompoundType key, having an array of matchers.

definition: [K in Match.CompoundType]: [K2 in Match.CompoundType]?: K2 extends K ? Match.Entry<T, C, P, R>[] : never[Match.CompoundType]