This method is like _.uniq except that it accepts iteratee which is invoked for each element in array to generate the criterion by which uniqueness is computed. The iteratee is invoked with one argument: (value).
_.uniq
iteratee
array
The array to inspect.
The iteratee invoked per element.
Returns the new duplicate free array.
This method is like
_.uniqexcept that it acceptsiterateewhich is invoked for each element inarrayto generate the criterion by which uniqueness is computed. The iteratee is invoked with one argument: (value).