Returns a Boolean value that indicates whether a value is an integer.
Syntax
Number.isInteger(numValue)
Return Value
true if the value is an integer, otherwise false.
Remarks
Requirements
Supported in Microsoft Edge (Edge browser). Also supported in Store apps (Microsoft Edge on Windows 10). See Version Information.
Not supported in the following document modes: Quirks, Internet Explorer 6 standards, Internet Explorer 7 standards, Internet Explorer 8 standards, Internet Explorer 9 standards, Internet Explorer 10 standards, Internet Explorer 11 standards. Not supported in Windows 8.1.
Applies To: Number Object
Example
// Returns true
Number.isInteger(100)
Number.isInteger(-100)
// Returns false
Number.isInteger(Number.NaN)
Number.isInteger(Infinity)
Number.isInteger(100 / 3)
Number.isInteger("100")

