https://tutorial.eyehunts.com/js/javascript-instanceof-operator-check-type-of-object/
JavaScript instanceof operator | Check type of object