@febin52/unique-by-fast
v1.0.0
Published
Remove duplicate array items by key or accessor function.
Maintainers
Readme
🦄 @febin52/unique-by-fast
Dedupe array by key or accessor function.
import { uniqueBy } from '@febin52/unique-by-fast';
uniqueBy([{ a: 1 }, { a: 1 }], x => x.a); // [{ a: 1 }]