Skip to main content
Module

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

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

Determines the allowed paths into a non-optional value of type T.

Type Parameters

T
Write extends boolean
Maybe extends boolean
definition: Tuple.IsTuple<T> extends true ? Path.Internal.Tup<T, Write, Maybe> : T extends readonly any[] ? Write extends false ? Path.Internal.Arr<T> : never : IsPlainObj<T> extends true ? Path.Internal.Obj<T, Write, Maybe> : never