UNPKG

@pangolindex/sdk

Version:

🛠 An SDK for building applications on top of Pangolin.

8 lines (7 loc) • 244 B
/** * Determines if a tick list is sorted * @param list The tick list * @param comparator The comparator * @returns true if sorted */ export declare function isSorted<T>(list: Array<T>, comparator: (a: T, b: T) => number): boolean;