### Version v24.2.0 ### Platform ```text Microsoft Windows NT 10.0.26100.0 x64 ``` ### Subsystem _No response_ ### What steps will reproduce the bug? Try these functions in REPL: > stream.isReadable(new stream.Readable()) true > stream.isReadable(new stream.Writable()) null > stream.isWritable(new stream.Writable()) true > stream.isWritable(new stream.Readable()) null ### How often does it reproduce? Is there a required condition? Always. ### What is the expected behavior? Why is that the expected behavior? It should always return a boolean as per [docs](https://nodejs.org/api/stream.html#streamisreadablestream). ### What do you see instead? `true` and `null` ### Additional information _No response_