Skip to main content
Module

x/denofun/tail.ts>default

Small utility library containing functions, monads and other fun stuff.
Latest
function default
import { default } from "https://deno.land/x/denofun@v0.2.0/tail.ts";

tail returns all elements of the given array or string except the first

Parameters

xs: T[] | string

input array or string

Returns

T[] | string

all elements of the input array or string excluding the first element