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.
Go to Latest
type alias Deep.Path.Internal.MaybeValue
import { type Deep } from "https://deno.land/x/rimbu@0.13.2/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