Last change
on this file since 8d391a1 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 |
|
---|
3 | Object.defineProperty(exports, "__esModule", {
|
---|
4 | value: true
|
---|
5 | });
|
---|
6 | exports.default = reject;
|
---|
7 |
|
---|
8 | var _filter = require('./filter');
|
---|
9 |
|
---|
10 | var _filter2 = _interopRequireDefault(_filter);
|
---|
11 |
|
---|
12 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
---|
13 |
|
---|
14 | function 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 | }
|
---|
21 | module.exports = exports['default']; |
---|
Note:
See
TracBrowser
for help on using the repository browser.