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 8 years ago
Linked from 1 awesome list
arrayjavascriptnodejs
Related projects:
Repository | Description | Stars |
---|---|---|
jonschlinkert/has-value | A utility function to check if an object value exists at a given path or is not empty | 26 |
jonschlinkert/array-first | Returns one or more elements from the beginning of an array | 11 |
jonschlinkert/array-last | Returns the last element(s) in an array | 35 |
jonschlinkert/is-number | Utility function to check if a value is a number or string representation of a number | 261 |
jonschlinkert/arr-diff | Returns an array with unique values from multiple arrays using strict equality comparisons | 46 |
juliangruber/isarray | A polyfill for Array.isArray to support older browsers and Node.js versions. | 132 |
jonschlinkert/arr-flatten | Utility function to flatten arrays by recursively iterating over their elements | 60 |
component/indexof | Finds the position of a specified element in an array | 15 |
paulmillr/array.prototype.findindex | Polyfills ES6 Array.prototype.findIndex for older environments | 28 |
sindresorhus/is-observable | Tool to check if a value is an Observable | 40 |
jonschlinkert/uniqueid | Generates unique sequential IDs with optional prefix and suffix. | 17 |
parshap/js-is-integer | A polyfill implementation of the ES2015 Number.isInteger function in JavaScript | 12 |
jonschlinkert/deep-bind | Binds a context to all functions in an object and its nested functions | 9 |
robatwilliams/es-compat | Checks JavaScript code compatibility with target browsers and Node.js versions | 68 |
serkanyersen/ifvisible.js | Checks user interaction and visibility on the page | 1,952 |