-
Checking whether a value is an integer in JavaScript
working on the Titanium Android Nativr Module. In titnaium JavaScript we need to check if the return result is an integer from Java to Javascript. Sometimes the return is a number but the output type is in String Type. if(checkInput % 1 === 0){ //do what you want . }; Refer: http://www.…