JavaScript Number Methods

The isInteger() method returns true if the argument is an integer.

Otherwise it returns false.