IsNumeric function used to check the numeric or not.
isNaN function used to check the value is a number or not. If the values is numeric its return true else returned false.
Syntax :
bool IsNumeric(string)
Code :
function IsNumeric(val) {
if (isNaN(parseFloat(val))) {
return false;
}
return true
}