UNPKG

@alcorexchange/alcor-swap-sdk

Version:

​​ **npm** ``` npm i @alcorexchange/alcor-swap-sdk ``` **yarn** ``` yarn add @alcorexchange/alcor-swap-sdk ``` ## Usage ### Import:

8 lines (7 loc) 237 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;