Unverified Commit f2550530 authored by Robert Nagy's avatar Robert Nagy Committed by Shelley Vohr
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 a52df55b
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