@total-order/reversed
Version:
Comparison function reversion for JavaScript
28 lines (22 loc) • 2.2 kB
Markdown
:upside_down_face: [@total-order/reversed](https://total-order.github.io/reversed)
==
Comparison function reversion for JavaScript.
See [docs](https://total-order.github.io/reversed/index.html).
```js
import {increasing} from '@total-order/primitive';
import {reversed} from '@total-order/reversed';
let decreasing = reversed(increasing);
```
[](https://raw.githubusercontent.com/total-order/reversed/main/LICENSE)
[](https://www.npmjs.org/package/@total-order/reversed)
[](https://github.com/total-order/reversed/actions/workflows/ci:test.yml?query=branch:main)
[](https://david-dm.org/total-order/reversed)
[](https://david-dm.org/total-order/reversed?type=dev)
[](https://github.com/total-order/reversed/issues)
[](https://www.npmjs.org/package/@total-order/reversed)
[](https://codeclimate.com/github/total-order/reversed/issues)
[](https://codeclimate.com/github/total-order/reversed/trends/churn)
[](https://codecov.io/gh/total-order/reversed)
[](https://codeclimate.com/github/total-order/reversed/trends/technical_debt)
[](https://total-order.github.io/reversed/source.html)
[](https://bundlephobia.com/result?p=@total-order/reversed)