huridocs/uwazi

View on GitHub
app/api/utils/filters.js

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
const unique = (v, i, a) => a.indexOf(v) === i;
const emptyString = v => v.trim() !== '';

export { unique, emptyString };