JavaScript check if an object is an instance of type Error using check-more-types library In this JavaScript tutorial we learn how to check whether an object is an instance of type Error or not using the error() method of check-more-types library.