ivanbuncic / filther

Filtering Arrays for duplicates

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wallaby.js

Filther - your best array duplicates extinguisher

Filtering Arrays for duplicates with Set and back

Install

npm i filther

Usage

import f from 'filther';

let arr = [23, 23, 23, 23, 23, 45, 45, 45, 567, 67, 67, 67, 67, 67];

let filtered = f(arr);

console.log(filtered) // should return [23,45,567,67] 

Good luck!

About

Filtering Arrays for duplicates

License:MIT License


Languages

Language:JavaScript 100.0%