update
This commit is contained in:
parent
d9becc67b6
commit
9308795b8b
964 changed files with 104265 additions and 16 deletions
36
node_modules/ramda/es/internal/_xdropWhile.js
generated
vendored
Normal file
36
node_modules/ramda/es/internal/_xdropWhile.js
generated
vendored
Normal file
|
@ -0,0 +1,36 @@
|
|||
import _curry2 from "./_curry2.js";
|
||||
import _xfBase from "./_xfBase.js";
|
||||
|
||||
var XDropWhile =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
function XDropWhile(f, xf) {
|
||||
this.xf = xf;
|
||||
this.f = f;
|
||||
}
|
||||
|
||||
XDropWhile.prototype['@@transducer/init'] = _xfBase.init;
|
||||
XDropWhile.prototype['@@transducer/result'] = _xfBase.result;
|
||||
|
||||
XDropWhile.prototype['@@transducer/step'] = function (result, input) {
|
||||
if (this.f) {
|
||||
if (this.f(input)) {
|
||||
return result;
|
||||
}
|
||||
|
||||
this.f = null;
|
||||
}
|
||||
|
||||
return this.xf['@@transducer/step'](result, input);
|
||||
};
|
||||
|
||||
return XDropWhile;
|
||||
}();
|
||||
|
||||
var _xdropWhile =
|
||||
/*#__PURE__*/
|
||||
_curry2(function _xdropWhile(f, xf) {
|
||||
return new XDropWhile(f, xf);
|
||||
});
|
||||
|
||||
export default _xdropWhile;
|
Loading…
Add table
Add a link
Reference in a new issue