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.MaybeValue

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