Skips the first N elements from a readonly array or tuple T.
If T is a tuple, it returns a new tuple containing the elements after the first N.
If T is a general array, it returns the original array type T.
Type Parameters
Nextendsnumber
The number of elements to skip.
Textendsreadonlyunknown[]
The readonly array or tuple type.
Returns
A new type containing elements after the first N (for tuples) or T (for arrays).
Skips the first
Nelements from a readonly array or tupleT. IfTis a tuple, it returns a new tuple containing the elements after the firstN. IfTis a general array, it returns the original array typeT.