|
Last change
on this file was a762898, checked in by istevanoska <ilinastevanoska@…>, 5 months ago |
|
Added visualizations
|
-
Property mode
set to
100644
|
|
File size:
447 bytes
|
| Line | |
|---|
| 1 | 'use strict';
|
|---|
| 2 |
|
|---|
| 3 | Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|---|
| 4 |
|
|---|
| 5 | const filter = require('./filter.js');
|
|---|
| 6 | const identity = require('../../function/identity.js');
|
|---|
| 7 | const negate = require('../function/negate.js');
|
|---|
| 8 | const iteratee = require('../util/iteratee.js');
|
|---|
| 9 |
|
|---|
| 10 | function reject(source, predicate = identity.identity) {
|
|---|
| 11 | return filter.filter(source, negate.negate(iteratee.iteratee(predicate)));
|
|---|
| 12 | }
|
|---|
| 13 |
|
|---|
| 14 | exports.reject = reject;
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.