I\'m trying to get:
document.createElement(\'div\') //=> true {tagName: \'foobar something\'} //=> false
In my own scripts, I used
For the ones using Angular:
angular.isElement
https://docs.angularjs.org/api/ng/function/angular.isElement