Checks if value is found in array
npm install is-array-elem


Checks if value is found in array, using SameValueZero
``sh`
npm install --save is-array-elem
`js
const isArrayElem = require('is-array-elem');
isArrayElem(['foo', 'bar'], 'foo');
//=> true
isArrayElem(['foo', 'bar'], 'bar');
//=> true
isArrayElem(['foo', 'bar'], 'baz');
//=> false
`
#### Parameters
| Name | Type | Description |
| ---- | ---- | ----------- |
| array | Array | Array to inspect |*
| value | | Value to search for |
#### Returns
- Boolean`
- lodash.indexof - Gets the index of value in array
MIT © Lufty Wiranda