Skip to main content
Module

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

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

Determines the allowed non-empty paths into a value of type T.

Type Parameters

T
Write extends boolean
Maybe extends boolean
First extends boolean
definition: Path.Internal.IsOptional<T> extends true ? Write extends false ? Path.Internal.Generic<Exclude<T, undefined | null>, Write, true> : never : `${Path.Internal.Separator<First, Maybe, IsArray<T>>}${Path.Internal.NonOptional<T, Write, Maybe>}`