let testString="5"; if(Number.isInteger(parseFloat(testString))){ console.log("we are a int of some sort"); }