in-array
Array checker
Returns true if a value exists in an array without searching the entire array or handling null values
Return true if a value exists in an array. Faster than using indexOf and won't blow up on null values.
16 stars
3 watching
1 forks
Language: JavaScript
last commit: over 10 years agoLinked from 1 awesome list
arrayjavascriptnodejs
Related projects:
| Repository | Description | Stars |
|---|---|---|
| A utility function to check if an object value exists at a given path or is not empty | 26 | |
| Returns one or more elements from the beginning of an array | 11 | |
| Returns the last element(s) in an array | 35 | |
| Utility function to check if a value is a number or string representation of a number | 262 | |
| Returns an array with unique values from multiple arrays using strict equality comparisons | 46 | |
| A polyfill for Array.isArray to support older browsers and Node.js versions. | 132 | |
| Utility function to flatten arrays by recursively iterating over their elements | 60 | |
| Finds the position of a specified element in an array | 15 | |
| Polyfills ES6 Array.prototype.findIndex for older environments | 28 | |
| Tool to check if a value is an Observable | 40 | |
| Generates unique sequential IDs with optional prefix and suffix. | 17 | |
| A polyfill implementation of the ES2015 Number.isInteger function in JavaScript | 12 | |
| Binds a context to all functions in an object and its nested functions | 9 | |
| Checks JavaScript code compatibility with target browsers and Node.js versions | 68 | |
| Checks user interaction and visibility on the page | 1,953 |