huridocs/uwazi

View on GitHub
app/shared/filterUnique.ts

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
export const unique = (v: any, i: any, a: any[]) => a.indexOf(v) === i;