Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
doc: update deprecation guide for util.is**()
  • Loading branch information
AugustinMauroy committed Jul 29, 2025
commit 8a8af47593517ddd05e1ad57e8912b0fd1c04176
6 changes: 2 additions & 4 deletions doc/api/deprecations.md
Original file line number Diff line number Diff line change
Expand Up @@ -1109,9 +1109,7 @@ changes:

Type: End-of-Life

The `util.isError()` API has been removed. Please use
`Object.prototype.toString(arg) === '[object Error]' || arg instanceof Error`
instead.
The `util.isError()` API has been removed. Please use `Error.isError(arg)`.

### DEP0049: `util.isFunction()`

Expand Down Expand Up @@ -1192,7 +1190,7 @@ changes:
Type: End-of-Life

The `util.isNullOrUndefined()` API has been removed. Please use
`arg === null || arg === undefined` instead.
`arg === null` instead.
Comment thread
AugustinMauroy marked this conversation as resolved.
Outdated

### DEP0052: `util.isNumber()`

Expand Down
Loading