Get the last element of a tuple.
Tuple type
Extracts the type of the last element from a tuple type.
type L =TupleLast< [ number, string, boolean ] >; // boolean Copy
type L =TupleLast< [ number, string, boolean ] >; // boolean
Get the last element of a tuple.