UNPKG

ts-useful

Version:

Functions for animation, color transitions, ecliptic, bezier, decasteljau, curves, three dimensional curves, smooth scrolling, random range, randomItem, mobius index, vectors, physics vectors, and easing.

9 lines (8 loc) 199 B
/** * * @param array any[] * @param prop string * @param reverse boolean * @returns any[] */ export declare const Sorter: (array: Array<any>, prop: string, reverse?: boolean) => any[];