Answers for "read if is number or not javascript"

9

javascript check if variable is number

function isNumber(n) {
  return !isNaN(parseFloat(n)) && !isNaN(n - 0);
}
Posted by: Guest on May-22-2020

Code answers related to "read if is number or not javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language