Skip to main content
Module

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

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

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

definition: [K in Match.ArrayTraversalType]: [K2 in Match.ArrayTraversalType]?: K2 extends K ? Match.Entry<T[number & keyof T], C[number & keyof C], T, R> : never[Match.ArrayTraversalType]