diff --git a/common/libs/inputValidator.js b/common/libs/inputValidator.js deleted file mode 100644 index a2bf1abf..00000000 --- a/common/libs/inputValidator.js +++ /dev/null @@ -1,15 +0,0 @@ -export function isInt(n) { - return Number(n) === n && n % 1 === 0; -} - -export function isFloat(n) { - return Number(n) === n && n % 1 !== 0; -} - -export function isEmpty(n) { - return n === '' -} - -export function isFloatOrInt(n) { - return (isFloat(n) || isInt(n)) -}