Skip to content

total-order/iter

Repository files navigation

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

License Version Tests Dependencies GitHub issues Downloads

Code issues Code maintainability Code coverage (cov) Code technical debt Documentation Package size