@total-order/key
v1.0.0
Published
Comparison function from key function for JavaScript
Downloads
206
Readme
:old_key: @total-order/key
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['🤖'];
}
);