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

x/rimbu/core/main/exports.ts>Deep.Path.Result.Part

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

Determines the result of getting the property/index K from type T, taking into account that the value may be optional.

Type Parameters

T
K
Maybe extends boolean
definition: IsArray<T> extends true ? Path.Internal.MaybeValue<T[K & keyof T], Tuple.IsTuple<T> extends true ? Maybe : true> : Path.Internal.MaybeValue<T[K & keyof T], Maybe>