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.

11 lines (8 loc) 195 B
import { curry, compose, length } from 'ramda'; const compareLength = curry((comparator, value, list) => compose( comparator(value), length )(list) ); export default compareLength;