type NonOptional<T,Write,Maybe>
Determines the allowed paths into a non-optional value of type T
.
Definition
type NonOptional<T, Write extends boolean, Maybe extends boolean> =
Tuple.IsTuple
<T> extends true ?
Path.Internal.Tup
<T, Write, Maybe> : T extends readonly any[] ? Write extends false ?
Path.Internal.Arr
<T> : never : IsPlainObj<T> extends true ?
Path.Internal.Obj
<T, Write, Maybe> : never;