Error.isError()
Limited availability
The Error.isError()
static method checks whether a value is an Error
object.
Learning resources on MDN
Browser support
- Chrome 134 Released on 2025-03-04
- Chrome Android 134 Released on 2025-03-04
- Edge 134 Released on 2025-03-06
- Firefox ❌
- Firefox for Android ❌
- Safari ❌
- Safari on iOS ❌
Specifications
- Error.isError, from TC39 (Ecma International).
View web-platform-tests results for this feature - View the feature source file (dist) - Edit the feature - Report an issue about this feature