UNPKG

rambdax

Version:

Extended version of Rambda - a lightweight, faster alternative to Ramda

15 lines (13 loc) 241 B
import {Tail} from './Tail' import {Length} from './Length' import {List} from './List' /** Get the last entry of `L` @param L to extract from @returns [[Any]] @example ```ts ``` */ export type Last<L extends List> = L[Length<Tail<L>>]