UNPKG

iter-tools-es

Version:
4 lines 228 B
import { Wrappable } from '../../types/iterable'; declare function isSorted(iterable: Wrappable<any>): boolean; declare function isSorted<T>(compare: (a: T, b: T) => number, iterable: Wrappable<T>): boolean; export { isSorted };