string is string and number code example
Example: js check if string or int
var myString = "abc123";
var otherString = "123";
/* isInterger() checks if an value repersents an int */
Number.isInteger(myString); //returns false
Number.isInteger(otherString); //returns true