Tiny (111B) & fast utility to retrieve all unique values from an Array.
$ npm install --save @arr/unique
import unique from '@arr/unique';
unique([1, 1, 2, 3, 3]);
//=> [1, 2, 3]
unique(['foo', 'foo', 'bar', 'foo']);
//=> ['foo', 'bar']
Type: Array
The array to iterate upon.
MIT © Luke Edwards