From f0d00b3815ae65041db26a377d43f9c087a59059 Mon Sep 17 00:00:00 2001 From: Daniel Ternyak Date: Sun, 18 Jun 2017 23:57:46 -0500 Subject: [PATCH] deleted common/libs/inputValidator.js --- common/libs/inputValidator.js | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 common/libs/inputValidator.js 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)) -}