Skip to content

Commit 729efd5

Browse files
authored
Add Error.isError() feature (#2711)
1 parent edb7e1d commit 729efd5

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

features/is-error.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
name: Error.isError()
2+
description: The `Error.isError()` static method checks whether a value is an `Error` object.
3+
spec: https://tc39.es/proposal-is-error/
4+
compat_features:
5+
- javascript.builtins.Error.isError

features/is-error.yml.dist

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Generated from: is-error.yml
2+
# Do not edit this file by hand. Edit the source file instead!
3+
4+
status:
5+
baseline: false
6+
support: {}
7+
compat_features:
8+
- javascript.builtins.Error.isError

0 commit comments

Comments
 (0)