Javascript Object isNumeric(obj)

Description

Javascript Object isNumeric(obj)

// Function to check if number or NaN, this is the jQuery implementation of isNumeric
function isNumeric(obj) {
  return !Array.isArray(obj) && (obj - parseFloat(obj) + 1) >= 0;
}



PreviousNext

Related