Skip to content

gluthra/uniq-array

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

uniq-array

Returns an array by removing duplicate elements

Installation

$ npm install uniq-array

Usage

var uniqArray = require('uniq-array');

uniqArray([1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 3, 3]);
//=> [1, 2, 3]

uniqArray(['Amenda', 'Bob', 'Bob', 'Amenda', 'Luicy']);
//=> ['Amenda', 'Bob', 'Luicy']

License

MIT © Gaurav Luthra

About

Returns an array by removing the duplicates

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published