The type that checks for duplicates in a tuple. If duplicates are found, it returns never; otherwise, it returns Arr.
never
Arr
The type of elements in the tuple (Elm extends UserDefinedStatusCode).
The tuple type to check for uniqueness (Arr extends Readonly<Elm[]>).
The tuple type that keeps track of seen elements (default is an empty tuple).
The type that checks for duplicates in a tuple.
If duplicates are found, it returns
never
; otherwise, it returnsArr
.