1.0.2 • Published 8 months ago
@bfdurieux/array-utils v1.0.2
Assortment of Array Utilities
- CompareStringArray Checks if two string arrays have the exact same content.
- Distinct Filters out distinct values from array, returns new array with distinct values only.
- OrderBy Wrapper for JS .sort() so I don't have to remember if a > b should return 1 or -1.
- RemoveSpecialCharacters Transform a string into an array of characters, feed it to this function.