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 f5b6829 commit 4fd213cCopy full SHA for 4fd213c
doc/api/stream.md
@@ -3074,10 +3074,17 @@ changes:
3074
-->
3075
3076
* `stream` {Readable|Duplex|ReadableStream}
3077
-* Returns: {boolean}
+* Returns: {boolean|null} - Only returns `null` if `stream` is not a valid `Readable`, `Duplex` or `ReadableStream`.
3078
3079
Returns whether the stream is readable.
3080
3081
+### `stream.isWritable(stream)`
3082
+
3083
+* `stream` {Writable|Duplex|WritableStream}
3084
+* Returns: {boolean|null} - Only returns `null` if `stream` is not a valid `Writable`, `Duplex` or `WritableStream`.
3085
3086
+Returns whether the stream is writable.
3087
3088
### `stream.Readable.from(iterable[, options])`
3089
3090
<!-- YAML
0 commit comments