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

x/rambda/mod.ts>drop

Faster and smaller alternative to Ramda
Go to Latest
function drop
import { drop } from "https://deno.land/x/rambda@9.2.1/mod.ts";

It returns howMany items dropped from beginning of list or string input.

Parameters

howMany: number
input: T[]

Parameters

howMany: number
input: string

Returns

string

Parameters

howMany: number

Returns

{ <T>(input: T[]): T[]; (input: string): string; }