I have an argument to a method that I need to make sure is a string. Using var instanceof String was failing, so I did a console.log(var.constructor.name,
var instanceof String
console.log(var.constructor.name,