Check if two arrays are equal
MIT License
It checks that the elements and order are the same.
npm install array-equal
import arrayEqual from 'array-equal'; arrayEqual([1, 2, 3], [1, 2, 3]); //=> true arrayEqual([1, 2, 3], [1, 2, 3, 4]); //=> false
Check if a value is an object
Randomize the order of items in an array
Sort an array of numbers
Check if something is a generator function
Check if a string is HTML
Check if two floats are almost equal
Create an array with values that are present in the first input array but not additional ones
Move an array item to a different position
Exclude certain items from an array
ES2015 `Array#findIndex()` ponyfill
Create an array without duplicates
Create an array of unique values, in order, from the input arrays
Get an array of valid, sorted, and cleaned semver versions from an array of strings
Check if a string matches the name of a Node.js builtin module
Sort the keys of an object