aboutsummaryrefslogtreecommitdiff
path: root/node_modules/async/filter.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/async/filter.js')
-rw-r--r--node_modules/async/filter.js45
1 files changed, 0 insertions, 45 deletions
diff --git a/node_modules/async/filter.js b/node_modules/async/filter.js
deleted file mode 100644
index 54772d562..000000000
--- a/node_modules/async/filter.js
+++ /dev/null
@@ -1,45 +0,0 @@
-'use strict';
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-
-var _filter = require('./internal/filter');
-
-var _filter2 = _interopRequireDefault(_filter);
-
-var _doParallel = require('./internal/doParallel');
-
-var _doParallel2 = _interopRequireDefault(_doParallel);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-/**
- * Returns a new array of all the values in `coll` which pass an async truth
- * test. This operation is performed in parallel, but the results array will be
- * in the same order as the original.
- *
- * @name filter
- * @static
- * @memberOf module:Collections
- * @method
- * @alias select
- * @category Collection
- * @param {Array|Iterable|Object} coll - A collection to iterate over.
- * @param {Function} iteratee - A truth test to apply to each item in `coll`.
- * The `iteratee` is passed a `callback(err, truthValue)`, which must be called
- * with a boolean argument once it has completed. 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.filter(['file1','file2','file3'], function(filePath, callback) {
- * fs.access(filePath, function(err) {
- * callback(null, !err)
- * });
- * }, function(err, results) {
- * // results now equals an array of the existing files
- * });
- */
-exports.default = (0, _doParallel2.default)(_filter2.default);
-module.exports = exports['default']; \ No newline at end of file