Skip to main content

type NonEmpty<T,Write,Maybe,First>

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

Definition

type NonEmpty<T, Write extends boolean, Maybe extends boolean, First extends boolean> = Path.Internal.IsOptional<T> extends true ? Write extends false ? Path.Internal.Generic<Exclude```<T, undefined |null>, Write, true> : never :${[`Path.Internal.Separator`](/api/rimbu/deep/Path/Internal/Separator/type)`<First, Maybe, IsArray<T>>}${`[`Path.Internal.NonOptional`](/api/rimbu/deep/Path/Internal/NonOptional/type)<T, Write, Maybe>}```;