From 16baa822cc897fa8764c14861f7869f46ca50e30 Mon Sep 17 00:00:00 2001
From: Furkan Sahin <furkan-dev@proton.me>
Date: Mon, 30 May 2022 21:11:40 -0500
Subject: Compress results gif

---
 utils/assert.tsx | 3 +++
 1 file changed, 3 insertions(+)
 create mode 100644 utils/assert.tsx

(limited to 'utils/assert.tsx')

diff --git a/utils/assert.tsx b/utils/assert.tsx
new file mode 100644
index 0000000..0ee51a0
--- /dev/null
+++ b/utils/assert.tsx
@@ -0,0 +1,3 @@
+export default function assert(cond : boolean, message?: string) {
+  if(!cond) { throw Error(message); }
+};
-- 
cgit v1.2.3

