artdaq_node_server  v1_00_08
 All Classes Namespaces Files Variables Pages
uniqWith.js
1 var baseUniq = require('./_baseUniq');
2 
23 function uniqWith(array, comparator) {
24  comparator = typeof comparator == 'function' ? comparator : undefined;
25  return (array && array.length) ? baseUniq(array, undefined, comparator) : [];
26 }
27 
28 module.exports = uniqWith;