aboutsummaryrefslogtreecommitdiff
path: root/src/utils.ts
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2022-01-07 12:29:36 +0530
committerAkshay Nair <phenax5@gmail.com>2022-01-07 12:29:36 +0530
commit20480cd42bbbe1685b9470063248ed5fc1f2506b (patch)
treeedc0ffc194dc2d8a583be1492e01744c9b23ef49 /src/utils.ts
parent8ef91f03fac2bad20fb927fe2ca2782c66fdb513 (diff)
downloadelxr-20480cd42bbbe1685b9470063248ed5fc1f2506b.tar.gz
elxr-20480cd42bbbe1685b9470063248ed5fc1f2506b.zip
refactor: minor changes
Diffstat (limited to '')
-rw-r--r--src/utils.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/utils.ts b/src/utils.ts
new file mode 100644
index 0000000..e7392bf
--- /dev/null
+++ b/src/utils.ts
@@ -0,0 +1,4 @@
+export const eq =
+ <T>(a: T) =>
+ (b: T): boolean =>
+ a === b