diff --git a/doc/api/stream.md b/doc/api/stream.md index ab285301e1afb0..6280fc740455d5 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -2282,6 +2282,19 @@ added: v17.3.0 Returns whether the stream has encountered an error. +### `stream.isReadable(stream)` + + + +> Stability: 1 - Experimental + +* `stream` {Readable|Duplex|ReadableStream} +* Returns: {boolean} + +Returns whether the stream is readable. + ### `stream.Readable.toWeb(streamReadable)`