From 54e8eb78162dc5e5eff5a234a27e918a30690d0c Mon Sep 17 00:00:00 2001 From: j3lte Date: Fri, 14 Apr 2023 15:34:57 +0200 Subject: [PATCH] Cleanup --- src/utils/expr.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/utils/expr.ts b/src/utils/expr.ts index 742e8b2..d4f5909 100644 --- a/src/utils/expr.ts +++ b/src/utils/expr.ts @@ -1,16 +1,10 @@ import { Where } from "../Where.ts"; -// function isNumber(obj: string): boolean { -// return !Number.isNaN(parseFloat(obj)); -// } - type Literal = string | number; export function handleLiteral(literal: Literal): Literal { if (typeof literal === "string") { return `'${literal}'`; - // } else if (isNumber(literal.toString())) { - // return literal; } return literal; }