source: node_modules/ramda/src/internal/_createPartialApplicator.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: 372 bytes
Line 
1var _arity =
2/*#__PURE__*/
3require("./_arity.js");
4
5var _curry2 =
6/*#__PURE__*/
7require("./_curry2.js");
8
9function _createPartialApplicator(concat) {
10 return _curry2(function (fn, args) {
11 return _arity(Math.max(0, fn.length - args.length), function () {
12 return fn.apply(this, concat(args, arguments));
13 });
14 });
15}
16
17module.exports = _createPartialApplicator;
Note: See TracBrowser for help on using the repository browser.