Sha256: 4d6930721c8d86022acf6d42194674f2e2722a3b688b3a5d2b3960d995f31bb9

Contents?: true

Size: 1.41 KB

Versions: 48

Compression:

Stored size: 1.41 KB

Contents

'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});

var _reject = require('./internal/reject');

var _reject2 = _interopRequireDefault(_reject);

var _doParallel = require('./internal/doParallel');

var _doParallel2 = _interopRequireDefault(_doParallel);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/**
 * The opposite of [`filter`]{@link module:Collections.filter}. Removes values that pass an `async` truth test.
 *
 * @name reject
 * @static
 * @memberOf module:Collections
 * @method
 * @see [async.filter]{@link module:Collections.filter}
 * @category Collection
 * @param {Array|Iterable|Object} coll - A collection to iterate over.
 * @param {Function} iteratee - An async truth test to apply to each item in
 * `coll`.
 * The should complete with a boolean value as its `result`.
 * Invoked with (item, callback).
 * @param {Function} [callback] - A callback which is called after all the
 * `iteratee` functions have finished. Invoked with (err, results).
 * @example
 *
 * async.reject(['file1','file2','file3'], function(filePath, callback) {
 *     fs.access(filePath, function(err) {
 *         callback(null, !err)
 *     });
 * }, function(err, results) {
 *     // results now equals an array of missing files
 *     createFiles(results);
 * });
 */
exports.default = (0, _doParallel2.default)(_reject2.default);
module.exports = exports['default'];

Version data entries

48 entries across 46 versions & 11 rubygems

Version Path
optimacms-0.1.61 spec/dummy/node_modules/async/reject.js
disco_app-0.18.0 test/dummy/node_modules/async/reject.js
disco_app-0.18.2 test/dummy/node_modules/async/reject.js
disco_app-0.16.1 test/dummy/node_modules/async/reject.js
disco_app-0.15.2 test/dummy/node_modules/async/reject.js
disco_app-0.18.4 test/dummy/node_modules/async/reject.js
disco_app-0.18.1 test/dummy/node_modules/async/reject.js
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/async/reject.js
disco_app-0.14.0 test/dummy/node_modules/async/reject.js
disco_app-0.13.6.pre.puma.pre.3 test/dummy/node_modules/async/reject.js
tang-0.2.1 spec/tang_app/node_modules/async/reject.js
groonga-client-model-6.0.0 test/apps/rails6.0.3.5/node_modules/async/reject.js
groonga-client-model-6.0.0 test/apps/rails6.1.3/node_modules/async/reject.js
ruby2js-4.0.4 lib/tasks/testrails/node_modules/async/reject.js
ruby2js-4.0.3 lib/tasks/testrails/node_modules/async/reject.js
tang-0.2.0 spec/tang_app/node_modules/async/reject.js
tang-0.1.0 spec/tang_app/node_modules/async/reject.js
tang-0.0.9 spec/tang_app/node_modules/async/reject.js
enju_library-0.3.8 spec/dummy/node_modules/async/reject.js
ilog-0.4.1 node_modules/async/reject.js