A type that constructs a new array containing only unique elements from a given array type.
The input array type from which unique elements are extracted.
type UArr = UniqueArray< [unknown, unknown, 'foo', any, never, never, '33', 33, '33']>; // => [unknown, 'foo', any, never, '33', 33] Copy
type UArr = UniqueArray< [unknown, unknown, 'foo', any, never, never, '33', 33, '33']>; // => [unknown, 'foo', any, never, '33', 33]
A type that constructs a new array containing only unique elements from a given array type.