The isInteger()
method tests if the provided value is an integer number and returns a boolean value.
bapi.helper.isInteger(value)
value
The value to test.
bapi.helper.isInteger("Test Value.");//returns false
bapi.helper.isInteger("false");//returns false
bapi.helper.isInteger(125.4);//returns false
bapi.helper.isInteger(125);//returns true