source:
node_modules/ramda-adjunct/src/internal/compareLength.js@
65b6638
Last change on this file since 65b6638 was d24f17c, checked in by , 15 months ago | |
---|---|
|
|
File size: 183 bytes |
Rev | Line | |
---|---|---|
[d24f17c] | 1 | import { curry, compose, length } from 'ramda'; |
2 | ||
3 | const compareLength = curry((comparator, value, list) => | |
4 | compose(comparator(value), length)(list) | |
5 | ); | |
6 | ||
7 | export default compareLength; |
Note:
See TracBrowser
for help on using the repository browser.