UNPKG

ramda-adjunct

Version:

Ramda Adjunct is the most popular and most comprehensive set of utilities for use with Ramda, providing a variety of useful, well tested functions with excellent documentation.

5 lines 195 B
import { curry, compose, length } from 'ramda'; var compareLength = curry(function (comparator, value, list) { return compose(comparator(value), length)(list); }); export default compareLength;