The readonly array or tuple type to check.
type IsNotTuple = IsNotFixedLengthList<[1, 2, 3]>; // false
type IsNotArray = IsNotFixedLengthList<number[]>; // true
type IsNotReadonlyArray = IsNotFixedLengthList<readonly string[]>; // true
type IsNotEmptyTuple = IsNotFixedLengthList<[]>; // false
type IsNotTupleWithRest = IsNotFixedLengthList<[number, ...string[]]>; // true
Checks if a given readonly array type
Tdoes not have a fixed length (i.e., is a regular array). ReturnstrueifTis a regular array (Type[]),falseif it's a tuple. This is the logical negation ofIsFixedLengthList.