source: trip-planner-front/node_modules/async/internal/reject.js@ 76712b2

Last change on this file since 76712b2 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 541 bytes
Line 
1'use strict';
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.default = reject;
7
8var _filter = require('./filter');
9
10var _filter2 = _interopRequireDefault(_filter);
11
12function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
14function reject(eachfn, arr, iteratee, callback) {
15 (0, _filter2.default)(eachfn, arr, function (value, cb) {
16 iteratee(value, function (err, v) {
17 cb(err, !v);
18 });
19 }, callback);
20}
21module.exports = exports['default'];
Note: See TracBrowser for help on using the repository browser.