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

x/rambda/files/index.d.ts>last

Faster and smaller alternative to Ramda
Go to Latest
function last
import { last } from "https://deno.land/x/rambda@v8.6.0/files/index.d.ts";

Parameters

str: ""

Returns

undefined

Parameters

str: string

Returns

string

Parameters

list: never[]

Returns

undefined

Type Parameters

T extends unknown[]

Returns

LastArrayElement<T>

Type Parameters

T extends readonly unknown[]

Returns

LastArrayElement<T>