summaryrefslogtreecommitdiff
path: root/src/utils.ts
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2022-01-08 18:37:57 +0530
committerAkshay Nair <phenax5@gmail.com>2022-01-08 18:37:57 +0530
commitd19a1e4e02c6743f057d03caa9337a5b47bfa9cd (patch)
tree44f4f27436d8fbc64a65e16bb122ae3775e22baf /src/utils.ts
parente8322ca988fc20baf7892915e6ccb069b11c608e (diff)
downloadelxr-d19a1e4e02c6743f057d03caa9337a5b47bfa9cd.tar.gz
elxr-d19a1e4e02c6743f057d03caa9337a5b47bfa9cd.zip
feat(eval): implements basic eval filtering
Diffstat (limited to 'src/utils.ts')
-rw-r--r--src/utils.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/utils.ts b/src/utils.ts
index 7e3009f..8e3abb9 100644
--- a/src/utils.ts
+++ b/src/utils.ts
@@ -22,3 +22,6 @@ export const constructors = <T extends Record<string, any>>(): {
},
},
) as any
+
+export const jlog = (x: any) => console.log(JSON.stringify(x, null, 2))
+