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

x/rambda/index.d.ts>tail

Faster and smaller alternative to Ramda
Latest
function tail
import { tail } from "https://deno.land/x/rambda@9.4.1/index.d.ts";

It returns all but the first element of input.

Type Parameters

T extends unknown[]

Returns

T extends [any, ...infer U] ? U : [...T]

Parameters

input: string

Returns

string