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