Extract hasDuplicates function

This commit is contained in:
syuilo
2017-03-02 05:24:20 +09:00
parent 17c8969fd2
commit b3455bf1cb
2 changed files with 2 additions and 4 deletions

View File

@@ -0,0 +1 @@
export default (array: any[]) => (new Set(array)).size !== array.length;