deleted common/libs/inputValidator.js

This commit is contained in:
Daniel Ternyak 2017-06-18 23:57:46 -05:00
parent 3cf43d04ad
commit f0d00b3815
1 changed files with 0 additions and 15 deletions

View File

@ -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))
}