Type guard to check if error is an Error instance
Value to check
true if the value is an Error, false otherwise
true
false
Type guard to check if error is an Error instance