Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/rimbu/deep/deep.ts>Path.Internal.NonOptional

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
type alias Path.Internal.NonOptional
import { type Path } from "https://deno.land/x/rimbu@1.0.0/deep/deep.ts";
const { NonOptional } = 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