javascript check if string is number

JavaScript
function isNumeric(num){
  return !isNaN(num)
}
isNumeric("23.33"); //true, checking if string is a number. if (typeof myVar === 'string'){
    //I am indeed a string
}
Source

Also in JavaScript: