in-array
JavaScriptpushed over 10 years ago
Return true if a value exists in an array. Faster than using indexOf and won't blow up on null values.
AI summary
Array checker
Returns true if a value exists in an array without searching the entire array or handling null values
- stars
- 16
- forks
- 1
- watching
- 3
- awesome list
- 1
Featured in 1 awesome list
Each link jumps to the spot where the list mentions in-array.