@farhanam/set
v2.0.0
Published
Removes duplicate elements in array
Downloads
4
Maintainers
Readme
@farhanam/set
Removes duplicate elements in arrays.
Install
$ npm install @farhanam/set
Usage
const set = require("@farhanam/set");
set([1, 1, 2, 3, 4, 4, 5, 6, 3, 4, 5]);
//=> [1, 2, 3, 4, 5, 6]
tiny("helloworld");
//=> ["h", "e", "l", "o", "w", "r", "d"]
License
@farhanam/set is released under the terms of the MIT License.