Module

x/rambda/immutable.d.ts>tail

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

It returns all but the first element of input.

Type Parameters

T extends readonly unknown[]

Returns

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

Parameters

input: string

Returns

string