From 9bb5fbe18bee4842f6ea0d8934de51bc240d3dde Mon Sep 17 00:00:00 2001 From: monoid Date: Sat, 9 Oct 2021 20:46:49 +0900 Subject: [PATCH] wrap assert --- src/assert.ts | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 src/assert.ts diff --git a/src/assert.ts b/src/assert.ts new file mode 100644 index 0000000..030898c --- /dev/null +++ b/src/assert.ts @@ -0,0 +1,3 @@ +export function assertBoolean(condition: boolean, ...data: any[]){ + console.assert(condition,data); +} \ No newline at end of file