is-array-elem
Checks if value is found in array, using SameValueZero
Installation
npm install --save is-array-elem
Usage
const isArrayElem = ; ;//=> true ;//=> true ;//=> false
API
isArrayElem(array, value)
Parameters
Name | Type | Description |
---|---|---|
array | Array |
Array to inspect |
value | * |
Value to search for |
Returns
Boolean
Related
- lodash.indexof - Gets the index of value in array
License
MIT © Lufty Wiranda