source:
node_modules/ramda-adjunct/src/internal/compareLength.js
Last change on this file was d24f17c, checked in by , 15 months ago | |
---|---|
|
|
File size: 183 bytes |
Line | |
---|---|
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.