Skip to content

Latest commit

 

History

History
33 lines (28 loc) · 2.05 KB

README.md

File metadata and controls

33 lines (28 loc) · 2.05 KB

Comparison function from key function for JavaScript. See docs.

import {key, len, prop} from '@total-order/key';
import {increasing} from '@total-order/primitive';
import {iterable} from '@total-order/iter';

const order = key(
	iterable(increasing),
	function* (x) {
		yield x['🙀'] * x['🦿'];
		yield x['🤖'];
	}
);

License Version Tests Dependencies GitHub issues Downloads

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