Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rimbu/actor/main/utils.ts>Tail

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
type alias Tail
import { type Tail } from "https://deno.land/x/rimbu@1.1.0/actor/main/utils.ts";

Utility type to retrieve the typed tail of a tuple.

Type Parameters

A extends any[]
definition: A extends [any, ...infer Rest] ? Rest : []