We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b026b3c commit 0eac592Copy full SHA for 0eac592
doc/api/util.md
@@ -3324,6 +3324,9 @@ deprecated: REPLACEME
3324
3325
> Stability: 0 - Deprecated: Use [`Error.isError`][] instead.
3326
3327
+**Note:** As of Node.js v24, `Error.isError()` is currently slower than `util.types.isNativeError()`.
3328
+If performance is critical, consider benchmarking both in your environment.
3329
+
3330
* `value` {any}
3331
* Returns: {boolean}
3332
0 commit comments