Module

x/rambda/index.d.ts>tail

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