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

x/rimbu/core/mod.ts>Deep.Path.Internal.MaybeValue

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

Returns type T if Maybe is false, T | undefined otherwise.

Type Parameters

T
Maybe extends boolean
definition: Maybe extends true ? T | undefined : T