isErrored

external fun isErrored(stream: Readable): Boolean(source)
external fun isErrored(stream: Writable): Boolean(source)
external fun isErrored(stream: ReadableStream): Boolean(source)
external fun isErrored(stream: WritableStream): Boolean(source)

Returns whether the stream has encountered an error.

Since

v17.3.0, v16.14.0