Represents a tuple of size N, where N is a Numeric type. The tuple's length is exactly N, with each element of the tuple being of type T.
N
T
The type of the elements in the tuple.
The desired length of the tuple.
Accumulator type for recursive construction.
SizedTuple<string, 3>; // Result: [string, string, string]SizedTuple<number, 2>; // Result: [number, number]SizedTuple<number, 0>; // Result: [] Copy
SizedTuple<string, 3>; // Result: [string, string, string]SizedTuple<number, 2>; // Result: [number, number]SizedTuple<number, 0>; // Result: []
Tuple
Represents a tuple of size
N
, whereN
is a Numeric type. The tuple's length is exactlyN
, with each element of the tuple being of typeT
.