Skip to main content
Module

x/ts_toolbelt_unofficial/mod.ts>Tuple.Tail

👷 TypeScript's largest type utility library, now on Deno
Latest
type alias Tuple.Tail
import { type Tuple } from "https://deno.land/x/ts_toolbelt_unofficial@1.1.0/mod.ts";
const { Tail } = Tuple;

Remove the first item out of a [[List]]

Examples

Example 1

definition: L extends readonly [] ? L : L extends readonly [any, ...infer LTail] ? LTail : L