default.isErrored - Node documentation
function default.isErrored
Unstable

Usage in Deno

import default from "node:stream";
const { isErrored } = default;
isErrored(stream:
Readable
| Writable
| ReadableStream
| WritableStream
): boolean

Returns whether the stream has encountered an error.

Parameters

stream:
Readable
| Writable
| ReadableStream
| WritableStream

Return Type

boolean