Module

x/rambda/immutable.d.ts>drop

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

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

Parameters

howMany: number
input: readonly T[]

Returns

readonly T[]

Parameters

howMany: number
input: string

Returns

string

Parameters

howMany: number

Returns

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