arr-exclude
Exclude certain items from an array
Install
$ npm install arr-exclude
Usage
import arrayExclude from 'arr-exclude';
arrayExclude(['a', 'b', 'c'], ['b']);
//=> ['a', 'c']
Related
- arr-include - Include only certain items in an array
Exclude certain items from an array
$ npm install arr-exclude
import arrayExclude from 'arr-exclude';
arrayExclude(['a', 'b', 'c'], ['b']);
//=> ['a', 'c']
npm i arr-exclude
14,545
2.0.0
MIT
2.37 kB
4