source: node_modules/ramda-adjunct/src/internal/compareLength.js

main
Last change on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 183 bytes
Line 
1import { curry, compose, length } from 'ramda';
2
3const compareLength = curry((comparator, value, list) =>
4 compose(comparator(value), length)(list)
5);
6
7export default compareLength;
Note: See TracBrowser for help on using the repository browser.