Checks if the provided number is an integer.
A boolean indicating whether the provided number is an integer.
This function uses the built-in Number.isInteger method.
Number.isInteger
isInteger(5);//=> trueisInteger(5.5);//=> false Copy
isInteger(5);//=> trueisInteger(5.5);//=> false
Generated using TypeDoc
Checks if the provided number is an integer.