Initial commit (secrets removed)

This commit is contained in:
Ali Arghyani
2025-11-04 09:09:29 +03:30
commit e1bc3d8adf
182 changed files with 17578 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
// return true if all elements of arr1 are in arr2
export const isSubset = (arr1: any[], arr2: any[]): boolean => {
let set2 = new Set(arr2)
return arr1.every((i) => set2.has(i))
}