Package Exports
- array-multi-find
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (array-multi-find) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
array-multi-find 
Find multiple elements in an array
Install
$ npm install --save array-multi-findUsage
const multiFind = require('array-multi-find');
multiFind(['foo', 'bar'], ['baz']);
//=> []
multiFind(['foo', 'bar'], ['foo', 'baz']);
//=> ['foo']
multiFind(['foo', 'bar', 'baz'], ['foo', 'bar']);
//=> ['foo', 'bar']API
multiFind(array, elements)
array
Type: Array
Array to search in.
elements
Type: Array
Elements to search in the array.
License
MIT © Sam Verschueren