blob: 3427739fa4995b0849f4f5fe9215fab0751d249d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# arr-exclude [](https://travis-ci.org/sindresorhus/arr-exclude)
> Exclude certain items from an array
## Install
```
$ npm install --save arr-exclude
```
## Usage
```js
var arrExclude = require('arr-exclude');
arrExclude(['a', 'b', 'c'], ['b']);
//=> ['a', 'c']
```
## Related
- [arr-include](https://github.com/sindresorhus/arr-include) - Include only certain items in an array
## License
MIT © [Sindre Sorhus](http://sindresorhus.com)
|