Module

x/rambda/rambda.js>takeLast

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

It returns the last howMany elements of input.

Parameters

howMany: number
input: T[]

Parameters

howMany: number
input: string

Returns

string

Parameters

howMany: number

Returns

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