How to Check If a Variable Is a String in JavaScript | CodeTrail