Node.js examples for String:Parse
Is a string integer
function isInt(aStr) { var i = parseInt(aStr); if (isNaN(i)) return false; i = i.toString();/*from ww w . ja v a 2 s. c o m*/ return (i == aStr); }