UNPKG

thena-v3-sdk

Version:

⚒️ An SDK for building applications on top of Thena V3 Fusion

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;