JavaScript Number method: isInteger()
[this page | pdf | back links]
The isInteger() method (of the JavaScript
Number
object) returns true if value is of type Number and is an integer (within range
understood as integers by the browser), otherwise returns false.
It
has the following syntax with the following parameters:
Number.isInteger(x)
|
Parameter
|
Required / Optional
|
Description
|
|
x
|
Required
|
Input parameter
|
NAVIGATION LINKS
Contents | Prev | Next | JavaScript Numbers and Math