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
+3
View File
@@ -0,0 +1,3 @@
// Find an item in `items` array, given a specific key/value.
export const findBy = <T>(key: keyof T, value: T[keyof T], items: T[]): T | undefined =>
items.find((obj) => obj[key] === value)