|
Last change
on this file was a762898, checked in by istevanoska <ilinastevanoska@…>, 5 months ago |
|
Added visualizations
|
-
Property mode
set to
100644
|
|
File size:
320 bytes
|
| Line | |
|---|
| 1 | import { filter } from './filter.mjs';
|
|---|
| 2 | import { identity } from '../../function/identity.mjs';
|
|---|
| 3 | import { negate } from '../function/negate.mjs';
|
|---|
| 4 | import { iteratee } from '../util/iteratee.mjs';
|
|---|
| 5 |
|
|---|
| 6 | function reject(source, predicate = identity) {
|
|---|
| 7 | return filter(source, negate(iteratee(predicate)));
|
|---|
| 8 | }
|
|---|
| 9 |
|
|---|
| 10 | export { reject };
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.