Returns all the distinct values of an array
distinctBy([1, 2, 2, 3, 4, 4, 5], (a, b) => a === b); // [1,2,3,4,5]
Generated using TypeDoc
Returns all the distinct values of an array
Example