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

x/rimbu/deep/internal.ts>Deep.Match

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

Type Aliases

The type that determines allowed matchers for arrays/tuples.

Keys used to indicate an array match traversal.

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

Compount matcher for objects, can only be an array staring with a compound type keyword.

Compound keys used to indicate the type of compound.

Determines the various allowed match types for given type T.

Utility type for collecting match failure reasons

Type used to determine the allowed function types. Always includes booleans.

The type that determines allowed matchers for objects.

The type to determine allowed matchers for object properties.

Defines an object containing exactly one TraversalType key, having a matcher for the array element type.

Type used to indicate an object containing matches for tuple indices.

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.

type alias Deep.Match
Re-export
import { type Deep } from "https://deno.land/x/rimbu@0.13.1/deep/internal.ts";
const { Match } = Deep;

The type to determine the allowed input values for the match function.

Type Parameters

T
optional
C extends Partial<T> = Partial<T>
definition: Match.Entry<T, C, T, T>