next-unique
Unique for array based on next.
installation
npm install -S @feizheng/next-unique
usage
import '@feizheng/next-unique';
const array1 = [1,2,4,5,6,7,1,2];
nx.unique(array1);
//[1,2,3,4,5,6,7]
license
Code released under the MIT license.