stream.isErrored(stream)
稳定性: 1 - 实验
stream
<Readable> | <Writable> | <Duplex> | <WritableStream> | <ReadableStream>- 返回: <boolean>
返回流是否遇到错误。
Stability: 1 - Experimental
stream
<Readable> | <Writable> | <Duplex> | <WritableStream> | <ReadableStream>- Returns: <boolean>
Returns whether the stream has encountered an error.