Takes the first N elements from a tuple type.
The tuple type to take elements from.
The number of elements to take.
The result type, defaulting to an empty array.
type Original = TakeFirstNElements<[1, 2, 3, 4], 2>; // [1, 2] Copy
type Original = TakeFirstNElements<[1, 2, 3, 4], 2>; // [1, 2]
Takes the first N elements from a tuple type.