The isInteger() method determines whether the passed value is an integer.
For more information visit developer.mozilla.org
var isInteger = Mint.utils.isInteger(12);
true if the tested object is integer; otherwise, false.
Mint.utils.isInteger(0.1); // false Mint.utils.isInteger(1); // true Mint.utils.isInteger(Math.PI); // false Mint.utils.isInteger(-100000); // true Mint.utils.isInteger(0); // true Mint.utils.isInteger("10"); // false Mint.utils.isInteger(null); // false
There was an error while loading. Please reload this page.
Home
Setup & Dependencies
Browsers support
Tests
Mint.utils functions
LICENSE