The Wayback Machine - https://web.archive.org/web/20250929174936/https://github.com/nodejs/node/commit/4fd213ce73
File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -3074,10 +3074,17 @@ changes:
30743074-->
30753075
30763076* ` stream ` {Readable|Duplex|ReadableStream}
3077- * Returns: {boolean}
3077+ * Returns: {boolean|null} - Only returns ` null ` if ` stream ` is not a valid ` Readable ` , ` Duplex ` or ` ReadableStream ` .
30783078
30793079Returns whether the stream is readable.
30803080
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+
30813088### ` stream.Readable.from(iterable[, options]) `
30823089
30833090<!-- YAML
You can’t perform that action at this time.
0 commit comments