Commit b851d7b9 authored by Robert Nagy's avatar Robert Nagy Committed by Rich Trott
Browse files

stream: fix finished writable/readable state

writable/readable does not indicate whether as stream is
a Writable/Readable. This implements a better check for
whether a object is a Writable/Readable.

PR-URL: https://github.com/nodejs/node/pull/31527


Reviewed-By: default avatarLuigi Pinca <luigipinca@gmail.com>
Reviewed-By: default avatarMatteo Collina <matteo.collina@gmail.com>
Reviewed-By: default avatarMinwoo Jung <nodecorelab@gmail.com>
Reviewed-By: default avatarRich Trott <rtrott@gmail.com>
parent 70c32a6d
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment