Skip to content

Commit

Permalink
Add Error.isError() feature (#2711)
Browse files Browse the repository at this point in the history
  • Loading branch information
ddbeck authored Feb 27, 2025
1 parent edb7e1d commit 729efd5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions features/is-error.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
name: Error.isError()
description: The `Error.isError()` static method checks whether a value is an `Error` object.
spec: https://tc39.es/proposal-is-error/
compat_features:
- javascript.builtins.Error.isError
8 changes: 8 additions & 0 deletions features/is-error.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Generated from: is-error.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: false
support: {}
compat_features:
- javascript.builtins.Error.isError

0 comments on commit 729efd5

Please sign in to comment.