Iterable and Iterator comparison functions for JavaScript. See docs.
import {range} from '@iterable-iterator/range';
import {increasing} from '@total-order/primitive';
import {iterable} from '@total-order/iter';
const order = iterable(increasing);
order(range(Number.MAX_SAFE_INTEGER), range(10)) > 0; // true