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

x/rambda/mod.ts>tail

Faster and smaller alternative to Ramda
Go to Latest
function tail
import { tail } from "https://deno.land/x/rambda@9.2.1/mod.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