Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Tail

Extracts the tail of a tuple. If you declare Tail<[A, B, C]> you will get back [B, C].

type Tail<X extends readonly any[]> = ((...args: X) => any) extends (arg: any, ...rest: infer U) => any ? U : never;

§Type Parameters

§
X extends readonly any[]
[src]

§Type

§
((...args: X) => any) extends (arg: any, ...rest: infer U) => any ? U : never
[src]