Node.js examples for Number:Int
Is integer by regex
integer : {//from ww w . j a v a 2 s . c om validator : function(value) { return /^[+]?[-]?[1-9]+\d*$/i.test(value); }, message : '' },