katoikia-app/web-ui/web-react/node_modules/uniqs/index.js

7 lines
180 B
JavaScript
Raw Normal View History

2022-07-06 04:15:11 +00:00
module.exports = function uniqs() {
var list = Array.prototype.concat.apply([], arguments);
return list.filter(function(item, i) {
return i == list.indexOf(item);
});
};