mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-08-03 13:56:07 +00:00
Extract hasDuplicates function
This commit is contained in:
@@ -0,0 +1 @@
|
||||
export default (array: any[]) => (new Set(array)).size !== array.length;
|
||||
Reference in New Issue
Block a user