proto

numberMethods

declaration
 numberMethods 

var numberMethods = module.exports = {
    isNumeric: isNumeric
};

isNumeric

function
 isNumeric() 

Option name Type Description
self Any

value to be tested

return Boolean

true if it is a numeric value

Function to test if a value is numeric

function isNumeric() {
    return !isNaN(parseFloat(this)) && isFinite(this);
};