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.

9 lines (8 loc) 301 B
"use strict"; exports.__esModule = true; exports["default"] = void 0; var _ramda = require("ramda"); var compareLength = (0, _ramda.curry)(function (comparator, value, list) { return (0, _ramda.compose)(comparator(value), _ramda.length)(list); }); var _default = exports["default"] = compareLength;