distinct
v0.1.0
Published
get distinct elements
Downloads
54
Readme
distinct()
Because nobody wants repeated things
Install
npm install distinctJust call it and it will retrieve just all distinct values
var distinct = require('distinct');
var arr = distinct([1, 1, 2, 3, 3, 3, 4]);
console.log(arr); // [1, 2, 3, 4]Thats it!
