Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/rimbu/deep/path.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@1.0.0/deep/path.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