UNPKG

sort-es

Version:

Blazing fast, tree-shakeable, type-safe, modern utility library to sort any type of array in less than 1 KB!

4 lines (3 loc) 142 B
declare const getFirstAndLast: <T>(array: T[]) => [T, T]; declare const reverse: <T>(array: T[]) => T[]; export { getFirstAndLast, reverse };