Last active
March 5, 2018 01:55
-
-
Save a1exlism/525aacd026c3b0acb3c5587b5c41d805 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function isInt(i) { | |
return (typeof i == "number") && !(i % 1) && !isNaN(i); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment