Skip to main content
Module

x/rimbu/mod.ts>Deep.Path.Internal.Tup

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

Determines the allowed paths for a tuple. Since tuples have fixed types, they do not need to be optional, in contrast to arrays.

Type Parameters

T
Write extends boolean
Maybe extends boolean
definition: [K in Tuple.KeysOf<T>]: `[${K}]${Path.Internal.Generic<T[K], Write, Maybe>}`[Tuple.KeysOf<T>]