Skip to main content
Module

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

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Latest
type alias Deep.Path.Internal.MaybeValue
import { type Deep } from "https://deno.land/x/rimbu@1.2.1/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