We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 011e83a commit e101e40Copy full SHA for e101e40
array/index.js
@@ -35,6 +35,7 @@ import single from "./single.js";
35
import sort from "./sort.js";
36
import sum from "./sum.js";
37
import transpose from "./transpose.js";
38
+import unique from "./unique.js";
39
import zip from "./zip.js";
40
import zipWith from "./zipWith.js";
41
@@ -76,6 +77,7 @@ export {
76
77
sort,
78
sum,
79
transpose,
80
+ unique,
81
zip,
82
zipWith
83
};
@@ -118,6 +120,7 @@ export default {
118
120
119
121
122
123
124
125
126
array/unique.js
@@ -0,0 +1 @@
1
+export default xs => [...new Set(xs)];
0 commit comments